Ticket #6639: 6639.patch

File 6639.patch, 623 bytes (added by Tobiasz Cudnik, 9 years ago)
  • _source/core/htmlparser/element.js

     
    3535        this.children = [];
    3636
    3737        var tagName = attributes[ 'data-cke-real-element-type' ] || name;
     38        if ( tagName.indexOf( ':' ) >= 0 )
     39                tagName = tagName.split( ':' )[ 1 ];
    3840
    3941        var dtd                 = CKEDITOR.dtd,
    4042                isBlockLike     = !!( dtd.$nonBodyContent[ tagName ] || dtd.$block[ tagName ] || dtd.$listItem[ tagName ] || dtd.$tableContent[ tagName ] || dtd.$nonEditable[ tagName ] || tagName == 'br' ),
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy