X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fhtmlparser%2Ffragment.js;h=a00ac2e98211a4f2aab4099f16c4cc3196161cf1;hp=2d7f8ac1a2dc4af55694c1a2f1983147b5b3becd;hb=a272c66d841421f8bf933c16535bdcde1c4649fc;hpb=fb481ba0a7d298e3e7b9034fcb9f2afdc6e8e796 diff --git a/_source/core/htmlparser/fragment.js b/_source/core/htmlparser/fragment.js index 2d7f8ac..a00ac2e 100644 --- a/_source/core/htmlparser/fragment.js +++ b/_source/core/htmlparser/fragment.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -127,7 +127,7 @@ CKEDITOR.htmlParser.fragment = function() function sendPendingBRs() { while ( pendingBRs.length ) - addElement( pendingBRs.shift(), currentNode ); + currentNode.add( pendingBRs.shift() ); } /*