Ticket #4609: 4609.patch
File 4609.patch, 970 bytes (added by , 13 years ago) |
---|
-
_source/plugins/htmldataprocessor/plugin.js
209 209 var protectStyleTagsRegex = /<(style)(?=[ >])[^>]*>[^<]*<\/\1>/gi; 210 210 var encodedTagsRegex = /<cke:encoded>([^<]*)<\/cke:encoded>/gi; 211 211 var protectElementNamesRegex = /(<\/?)((?:object|embed|param).*?>)/gi; 212 var protectSelfClosingRegex = /<cke: param(.*?)\/>/gi;212 var protectSelfClosingRegex = /<cke:(param|embded)(.*?)[/]?>/gi; 213 213 214 214 function protectStyleTagsMatch( match ) 215 215 { … … 226 226 } 227 227 function protectSelfClosingElements( html ) 228 228 { 229 return html.replace( protectSelfClosingRegex, '<cke: param$1></cke:param>' );229 return html.replace( protectSelfClosingRegex, '<cke:$1$2></cke:$1>' ); 230 230 } 231 231 232 232 function unprotectEncodedTagsMatch( match, encoded )