I have created a custom module for the editor that allows me to insert a data figure. What I want to insert is a custom HTML tag that is replaced at runtime (via regex) with content from the figure table. Here is what I initially input...
|<figure id="ddd91a0c-4db2-413f-8fff-3a84bc3d5506">[Figure: This is a test figure title...]</figure>
The issue arises when I toggle between Design and HTML view OR when I save the data. The editor automatically formats my tag to...
|<figure id="ddd91a0c-4db2-413f-8fff-3a84bc3d5506" />[Figure: This is a test figure title...]
This causes my entire figure insert protocol to fail and the users now see '[Figure: This is a test figure title...]" instead of an image and a legend. As far as I can tell the issue appear to be specific to IE as I was successfully working with this process in FF.
Is there any way I can turn off the auto-formatting that is happening?