Ticket #5931: 5931.patch
File 5931.patch, 902 bytes (added by , 13 years ago) |
---|
-
plugin.js
504 504 505 505 if ( !styleNode.hasAttributes() ) 506 506 { 507 styleNode = null; 507 // styleNode = null; 508 // Allow through these potentially empty tags, they will be added, then removed (#5931) 508 509 break; 509 510 } 510 511 } … … 536 537 // We should try to normalize with IE too in some way, somewhere. 537 538 if ( !CKEDITOR.env.ie ) 538 539 styleNode.$.normalize(); 540 541 // Since we may have allowed through now emtpy tags, remove them if they are such. 542 // Thus we allow them to be merged back up to their parents (#5931) 543 if ( !styleNode.hasAttributes() ) 544 removeNoAttribsElement(styleNode); 539 545 } 540 546 541 547 // Style applied, let's release the range, so it gets