When creating a content block that includes an accordion block with code tags, the accordion gets lost in the target pages while the hundreds of lines of code transfers just fine. The purpose of the accordion is to preserve the real estate the hundred of lines of code take up.
Additionally, I have applied a class to the code that completely UN-applies itself when I make any updates to the code. When I attempt to reapply the class in the content block source, it does not save.
Any ideas?
Source with accordion and code class

Target shows code with applied class but no accordion

Source after update - both accordion and class disappear
