Ticket #6639: 6639.patch
File 6639.patch, 623 bytes (added by , 13 years ago) |
---|
-
_source/core/htmlparser/element.js
35 35 this.children = []; 36 36 37 37 var tagName = attributes[ 'data-cke-real-element-type' ] || name; 38 if ( tagName.indexOf( ':' ) >= 0 ) 39 tagName = tagName.split( ':' )[ 1 ]; 38 40 39 41 var dtd = CKEDITOR.dtd, 40 42 isBlockLike = !!( dtd.$nonBodyContent[ tagName ] || dtd.$block[ tagName ] || dtd.$listItem[ tagName ] || dtd.$tableContent[ tagName ] || dtd.$nonEditable[ tagName ] || tagName == 'br' ),