I was having trouble with the Insert Symbol tool - it would insert (for example) Ω which looks nice. But, after saving a re-opening the editor, the Ω was gone, replaced by an unknown character glyph. I enabled the ConvertCharactersToEntities filter so that the Insert Symbol tool would insert the entity code for the chosen symbol - in this example, Ω
This worked great until I tried to insert some javascript. My script included something like this:
if (x > 5)
This got converted to:
if (x > 5)
which doesn't work very well.
How can I keep my entities and still allow javascript?