Ticket #5595: 5595.patch
File 5595.patch, 1.1 KB (added by , 13 years ago) |
---|
-
_source/plugins/htmlwriter/plugin.js
99 99 // Disable indentation on <pre>. 100 100 this.setRules( 'pre', 101 101 { 102 breakAfterOpen : false, 102 103 indent: false 103 104 }); 104 105 }, -
_source/core/dom/element.js
333 333 { 334 334 var retval = this.$.innerHTML; 335 335 // Strip <?xml:namespace> tags in IE. (#3341). 336 return CKEDITOR.env.ie ? retval.replace( /<\?[^>]*>/g, '' ) : retval; 336 retval = CKEDITOR.env.ie ? retval.replace( /<\?[^>]*>/g, '' ) : retval; 337 // Browsers strip leading space inside <pre>, 338 // compensate it even it's no there originally, 339 // it will not have any visual impact. (#5595) 340 return retval.replace( /<pre>/gi, '$&\n' ); 337 341 }, 338 342 339 343 getOuterHtml : function()