Ticket #8043: 8043.patch

File 8043.patch, 737 bytes (added by Wiktor Walc, 10 years ago)
  • _source/core/htmlparser/fragment.js

     
    4242        var nonBreakingBlocks = CKEDITOR.tools.extend( { table:1,ul:1,ol:1,dl:1 }, CKEDITOR.dtd.table, CKEDITOR.dtd.ul, CKEDITOR.dtd.ol, CKEDITOR.dtd.dl );
    4343
    4444        // IE < 8 don't output the close tag on definition list items. (#6975)
    45         var optionalCloseTags = CKEDITOR.env.ie && CKEDITOR.env.version < 8 ? { dd : 1, dt :1 } : {};
     45        var optionalCloseTags = CKEDITOR.env.ie && ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat ) ? { dd : 1, dt :1 } : {};
    4646
    4747        var listBlocks = { ol:1, ul:1 };
    4848
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy