I am trying to add a simple javascript into the text editor (not the rich text editor but the clean one). When viewing my rendered page I found out that ModX converted all my
(slant followed by apostraphe) tags to
(an apostraphe without the slant) this made the javascript unusable. is there any way to make ModX show the missing slant?
example:
this is what i’m trying to enter:
<a target="newwin" href="http://www.faa.gov/library/manuals/aircraft/airplane_handbook/" onmouseover="this.T_WIDTH=140;return escape('<img src=\'afhCover.jpg\' width=\'130\'>')">Airplane Flying Handbook</a>
and this is what i get on the rendered page:
<a target="newwin" href="http://www.faa.gov/library/manuals/aircraft/airplane_handbook/" onmouseover="this.T_WIDTH=140;return escape('<img src='afhCover.jpg' width='130'>')">Airplane Flying Handbook</a>
Thank you and great job on making ModX!