Skip to content

Commit f7f53df

Browse files
garry.yaoGarry Yao
authored andcommitted
Fixed parsing single br should be surrounded by block.
git-svn-id: https://svn.ckeditor.com/CKEditor/trunk@7526 da63caf2-3823-0410-a1e8-d69ccee00dfb
1 parent e6c47dc commit f7f53df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/htmlparser/fragment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ CKEDITOR.htmlParser.fragment = function() {
123123

124124
function sendPendingBRs() {
125125
while ( pendingBRs.length )
126-
currentNode.add( pendingBRs.shift() );
126+
addElement( pendingBRs.shift(), currentNode );
127127
}
128128

129129
/*

0 commit comments

Comments
 (0)