Index: _source/core/dom/range.js
===================================================================
--- _source/core/dom/range.js (revision 3463)
+++ _source/core/dom/range.js (working copy)
@@ -257,7 +257,6 @@
endNode.remove();
};
- var inlineChildReqElements = { abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 };
// Creates the appropriate node evaluator for the dom walker used inside
// check(Start|End)OfBlock.
@@ -277,7 +276,7 @@
{
// If there are non-empty inline elements (e.g. ), then we're not
// at the start.
- if ( !inlineChildReqElements[ node.getName() ] )
+ if ( CKEDITOR.dtd.$empty[ node.getName() ] )
{
// If we're working at the end-of-block, forgive the first
.
if ( !isStart && node.getName() == 'br' && !hadBr )
@@ -285,6 +284,8 @@
else
return false;
}
+ else
+ return false;
}
};
}