Changeset 3929
- Timestamp:
- 07/17/09 16:09:03 (4 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/pastefromword/dialogs/pastefromword.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r3927 r3929 149 149 <li><a href="http://dev.fckeditor.net/ticket/3972">#3972</a> : Fixed unable to remove a single empty list in document in Firefox with enterMode=BR.</li> 150 150 <li><a href="http://dev.fckeditor.net/ticket/3973">#3973</a> : Fixed list creation error at the end of document.</li> 151 <li><a href="http://dev.fckeditor.net/ticket/3959">#3959</a> : Pasting styled text from word result in content lost.</li> 151 152 <li><a href="http://dev.fckeditor.net/ticket/3793">#3793</a> : Combined images into sprites.</li> 152 153 </ul> -
CKEditor/trunk/_source/plugins/pastefromword/dialogs/pastefromword.js
r3919 r3929 30 30 cleanWord : function( editor, html, ignoreFont, removeStyles ) 31 31 { 32 // Remove comments [SF BUG-1481861]. 33 html = html.replace(/<\!--[\s\S]*?-->/g, '' ) ; 34 32 35 html = html.replace(/<o:p>\s*<\/o:p>/g, '') ; 33 36 html = html.replace(/<o:p>[\s\S]*?<\/o:p>/g, ' ') ; … … 94 97 // Remove Tags with XML namespace declarations: <o:p><\/o:p> 95 98 html = html.replace(/<\/?\w+:[^>]*>/gi, '' ) ; 96 97 // Remove comments [SF BUG-1481861].98 html = html.replace(/<\!--[\s\S]*?-->/g, '' ) ;99 99 100 100 html = html.replace( /<(U|I|STRIKE)> <\/\1>/g, ' ' ) ;
Note: See TracChangeset
for help on using the changeset viewer.
