Changeset 2359
- Timestamp:
- 2008-08-14 13:03:54 (5 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 modified
-
editor/_source/internals/fckxhtmlentities.js (modified) (2 diffs)
-
_test/automated/tests/fckdataprocessor.html (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckxhtmlentities.js
r1565 r2359 151 151 // '&':'amp', // This entity is automatically handled by the XHTML parser. 152 152 // '<':'lt', // This entity is automatically handled by the XHTML parser. 153 // '>':'gt', // This entity is automatically handled by the XHTML parser.153 '>':'gt', // Opera and Safari don't encode it in their implementation 154 154 'ˆ':'circ', 155 155 '˜':'tilde', … … 332 332 else 333 333 { 334 FCKXHtmlEntities.Entities = {} ; 334 FCKXHtmlEntities.Entities = { 335 '>':'gt' // Opera and Safari don't encode it in their implementation 336 } ; 337 sChars = '>'; 335 338 336 339 // Even if we are not processing the entities, we must render the 337 340 // correctly. As we don't want HTML entities, let's use its numeric 338 341 // representation ( ). 339 sChars = ' ' ;342 sChars += ' ' ; 340 343 } 341 344 -
FCKeditor/trunk/_test/automated/tests/fckdataprocessor.html
r1565 r2359 165 165 } 166 166 167 function test_ConvertToDataFormat_Character_Transform() 168 { 169 var dataProcessor = new FCKDataProcessor() ; 170 171 assertEquals( 172 '<p><<GetText(Edit)>></p>', 173 dataProcessor.ConvertToDataFormat( document.getElementById('xDiv3'), true, true ) ) ; 174 } 175 167 176 </script> 168 177 </head> … … 170 179 <div id="xDiv1"><p>This is a <strong>test</strong>.</p><p>Another paragraph.</p></div> 171 180 <div id="xDiv2"><p> </p></div> 181 <div id="xDiv3"><p><<GetText(Edit)>></p></div> 172 182 </body> 173 183 </html> -
FCKeditor/trunk/_whatsnew.html
r2330 r2359 38 38 New Features and Improvements:</p> 39 39 <ul> 40 <li></li> 40 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2333">#2333</a>] The &gt; 41 character inside text wasn't encoded in Opera and Safari.</li> 41 42 </ul> 42 43 <p>