Opened 11 years ago

Closed 11 years ago

#891 closed defect (fixed)

Toggling view improperly converts characters

Reported by: guest Owned by: gogo
Priority: normal Milestone:
Component: Plugin_FullPage Version:
Severity: normal Keywords:
Cc: laredotornado@…



I just downloaded the most recent build. I then deployed a single editor on a web page, using settings exactly like the testbed page -- I then toggled to the code view, and pasted this code

<script language="JavaScript?"
<a href="">View
RSS feed</a>

However, when I toggled to the normal view and then back to the code view, the HTML in my "noscript" tags had been converted to printed characters. This was the result ...

<script type="text/javascript" src=";num=5&amp;targ=&amp;utf=y" language="JavaScript?"></script>
&lt;a href=&quot;;num=5&amp;targ=&amp;utf=y&amp;html=y&quot;&gt;View
RSS feed&lt;/a&gt;

Thanks for any help, - Dave

Change History (2)

comment:1 Changed 11 years ago by gocher

htmlarea.js - HTMLArea.getHTMLWrapper:

    case 3: // Node.TEXT_NODE
    html = /^script|style$/i.test(root.parentNode.tagName) ? : HTMLArea.htmlEncode(;


    case 3: // Node.TEXT_NODE
    html = /^script|^noscript|style$/i.test(root.parentNode.tagName) ? : HTMLArea.htmlEncode(;

with plugin GetHtml? there is no mistake

comment:2 Changed 11 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.