[Checkins]
SVN: zope.html/trunk/src/zope/html/fckeditor/editor/dialog/fck_paste.html
make the paste dialog valid ZPT
Benji York
benji at zope.com
Fri Jun 1 16:55:14 EDT 2007
Log message for revision 76139:
make the paste dialog valid ZPT
Changed:
U zope.html/trunk/src/zope/html/fckeditor/editor/dialog/fck_paste.html
-=-
Modified: zope.html/trunk/src/zope/html/fckeditor/editor/dialog/fck_paste.html
===================================================================
--- zope.html/trunk/src/zope/html/fckeditor/editor/dialog/fck_paste.html 2007-06-01 20:54:16 UTC (rev 76138)
+++ zope.html/trunk/src/zope/html/fckeditor/editor/dialog/fck_paste.html 2007-06-01 20:55:13 UTC (rev 76139)
@@ -202,8 +202,8 @@
html = html.replace( /<H(\d)([^>]*)>/gi, '<h$1>' ) ;
// Word likes to insert extra <font> tags, when using MSIE. (Wierd).
- html = html.replace( /<(H\d)><FONT[^>]*>(.*?)<\/FONT><\/\1>/gi, '<$1>$2</$1>' );
- html = html.replace( /<(H\d)><EM>(.*?)<\/EM><\/\1>/gi, '<$1>$2</$1>' );
+ html = html.replace( /<(H\d)><FONT[^>]*>(.*?)<\/FONT><\/\1>/gi, '<$1>$2<'+'/$1>' );
+ html = html.replace( /<(H\d)><EM>(.*?)<\/EM><\/\1>/gi, '<$1>$2<'+'/$1>' );
}
else
{
More information about the Checkins
mailing list