Ticket #5626: 5626.patch
File 5626.patch, 1.1 KB (added by , 13 years ago) |
---|
-
_source/core/dtd.js
75 75 $block : block, 76 76 77 77 /** 78 * List of elements may contain other #{CKEDITOR.dtd.$block} elements: 79 */ 80 $blockParents : { body:1,noscript:1,dd:1,dt:1,iframe:1,li:1,td:1,tfoot:1,th:1,thead:1 }, 81 82 /** 78 83 * List of block limit elements. 79 84 * @type Object 80 85 * @example -
_source/core/htmlparser/fragment.js
237 237 { 238 238 addElement( currentNode, currentNode.parent ); 239 239 } 240 // Show tolerance when current is already block parent elements, 241 // e.g. body,td,li... Don't break them. 242 else if ( currentName in CKEDITOR.dtd.$blockParents ) 243 addPoint = currentNode; 240 244 else 241 245 { 242 246 if ( nonBreakingBlocks[ currentName ] )