Index: _source/core/htmlparser/fragment.js
===================================================================
--- _source/core/htmlparser/fragment.js (revision 6241)
+++ _source/core/htmlparser/fragment.js (revision )
@@ -118,7 +118,7 @@
{
target = target || currentNode || fragment;
- // If the target is the fragment and this element can't go inside
+ // If the target is the fragment and this inline element can't go inside
// body (if fixForBody).
if ( fixForBody && !target.type )
{
@@ -129,9 +129,8 @@
elementName = realElementName;
else
elementName = element.name;
- if ( elementName
- && !( elementName in CKEDITOR.dtd.$body )
- && !( elementName in CKEDITOR.dtd.$nonBodyContent ) )
+
+ if ( elementName && elementName in CKEDITOR.dtd.$inline )
{
var savedCurrent = currentNode;