Changeset 224

Show
Ignore:
Timestamp:
2007-03-26 18:07:14 (21 months ago)
Author:
fredck
Message:

Fixed 293 : Escaped some slashes on strings to avoid parsing issues.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/dialog/fck_paste.html

    r177 r224  
    203203 
    204204                // Word likes to insert extra <font> tags, when using MSIE. (Wierd). 
    205                 html = html.replace( /<(H\d)><FONT[^>]*>(.*?)<\/FONT><\/\1>/gi, '<$1>$2</$1>' ); 
    206                 html = html.replace( /<(H\d)><EM>(.*?)<\/EM><\/\1>/gi, '<$1>$2</$1>' ); 
     205                html = html.replace( /<(H\d)><FONT[^>]*>(.*?)<\/FONT><\/\1>/gi, '<$1>$2<\/$1>' ); 
     206                html = html.replace( /<(H\d)><EM>(.*?)<\/EM><\/\1>/gi, '<$1>$2<\/$1>' ); 
    207207        } 
    208208        else