#2333: '>' replace with '>' on safari(3.1.1:windows)
----------------------+-----------------------------------------------------
 Reporter:  tasyblue  |       Owner:     
     Type:  Bug       |      Status:  new
 Priority:  Normal    |   Milestone:     
Component:  General   |     Version:  SVN
 Keywords:            |  
----------------------+-----------------------------------------------------
 I found this bug on my google summer of code 2008 period. when I use
 fckeditor as moinmoin wiki's gui editor, sometimes document parser throw
 exception.

 When I insert '>' to editor area it change to '>' after
 FCKDataProcessor.ConvertToDataFormat executed. as I found, this behavior
 only happend on apple safari(3.1.1 on window xp. I couldn't test any other
 safari browser).

 You can easily produce this bug using fckeditor's testcase.

  1. open _test/automated/tests/fckdataprocessor.html
  2. add new testcase end of testcases.
 {{{
 function test_ConvertToDataFormat_Character_Transform()
 {
         var dataProcessor = new FCKDataProcessor() ;

         assertEquals(
                 '<p>&lt;&lt;GetText(Edit)&gt;&gt;</p>',
                 dataProcessor.ConvertToDataFormat(
 document.getElementById('xDiv3'), true, true ) ) ;
 }
 }}}
  3. to test this testcase. add below html code inside of body tag
 {{{
 <div id="xDiv3"><p>&lt;&lt;GetText(Edit)&gt;&gt;</p></div>
 }}}
  4. then. run suite on safari.

 attached file is testcase what I use and screeanshot of result.

  * Browser name and OS : Safari for window (3.1.1) and windows xp
 professional

-- 
Ticket URL: </ticket/2333>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to