Ticket #6868: 6868.patch
File 6868.patch, 886 bytes (added by , 13 years ago) |
---|
-
_source/core/htmlparser/fragment.js
118 118 { 119 119 target = target || currentNode || fragment; 120 120 121 // If the target is the fragment and this element can't go inside121 // If the target is the fragment and this inline element can't go inside 122 122 // body (if fixForBody). 123 123 if ( fixForBody && !target.type ) 124 124 { … … 129 129 elementName = realElementName; 130 130 else 131 131 elementName = element.name; 132 if ( elementName 133 && !( elementName in CKEDITOR.dtd.$body ) 134 && !( elementName in CKEDITOR.dtd.$nonBodyContent ) ) 132 133 if ( elementName && elementName in CKEDITOR.dtd.$inline ) 135 134 { 136 135 var savedCurrent = currentNode; 137 136