#3441: CKEDITOR changes script tag content
--------------------------------+-------------------------------------------
 Reporter:  arczi               |       Owner:  garry.yao   
     Type:  Bug                 |      Status:  assigned    
 Priority:  Normal              |   Milestone:  CKEditor 3.0
Component:  Core : Output Data  |     Version:              
 Keywords:  Confirmed Review-   |  
--------------------------------+-------------------------------------------
Changes (by arczi):

  * keywords:  Confirmed Review? => Confirmed Review-


Comment:

 Bug is somewhere else.
 Source code:
 {{{
 <p>
         <script>alert('sample text. You are using <a
 href="http://www.fckeditor.net/";>FCKeditor</a>');</script></p>
 }}}
 is replaced with

 {{{
 <p>
         <script><![CDATA[alert('sample text. You are using ]]></script><a
 
href="http://www.fckeditor.net/";><script><![CDATA[FCKeditor]]></script></a><script><![CDATA[');]]></script></p>

 }}}
 It means that editor "think" that <a href ...> in a HTML tag instead of
 text inside <script>.

 Actual behavior:

 {{{
 <p>
         <script>--------------TEXT----------------</script><a
 
href="http://www.fckeditor.net/";><script>---------</script></a><script>---</script></p>

 }}}


 Expected behavior:

 {{{
 <p>
 
<script>--------------------------------TEXT--------------------------------------------------</script></p>
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3441#comment:9>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to