I forgot to mention the issue with line 1954 of htmlarea.js. If I toggled back and forth between HTML Mode and Text Mode, it would cause the following issue:
First, because of lines 1955 and 1956, the
<!--
and
//-->
would get transformed into
<!--
and
//-->
Then, if I toggled back and forth again, the problem caused by line 1954 kicks in...the
<!--
and
//-->
would get transformed into
&lt;!--
and
//--&gt;
Then, if I toggled back and forth again, the
&lt;!--
and
//--&gt;
would get transformed into
&amp;lt;!--
and
//--&amp;gt;
Then, if I toggled back and forth again, the
&amp;lt;!--
and
//--&amp;gt;
would get transformed into
&amp;amp;lt;!--
and
//--&amp;amp;gt;
and so on.
So...commenting out those 3 lines is the work-around. That is, as long as you don't need to use the <, >, or & in the html page.
Cheers!



