Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.4.2
[ckeditor.git]
/
_source
/
core
/
htmlparser
/
fragment.js
diff --git
a/_source/core/htmlparser/fragment.js
b/_source/core/htmlparser/fragment.js
index
d31b050
..
9db04dd
100644
(file)
--- a/
_source/core/htmlparser/fragment.js
+++ b/
_source/core/htmlparser/fragment.js
@@
-237,6
+237,12
@@
CKEDITOR.htmlParser.fragment = function()
{
\r
addElement( currentNode, currentNode.parent );
\r
}
\r
{
\r
addElement( currentNode, currentNode.parent );
\r
}
\r
+ else if ( tagName in CKEDITOR.dtd.$listItem )
\r
+ {
\r
+ parser.onTagOpen( 'ul', {} );
\r
+ addPoint = currentNode;
\r
+ reApply = true;
\r
+ }
\r
else
\r
{
\r
if ( nonBreakingBlocks[ currentName ] )
\r
else
\r
{
\r
if ( nonBreakingBlocks[ currentName ] )
\r
@@
-386,6
+392,7
@@
CKEDITOR.htmlParser.fragment = function()
\r
parser.onComment = function( comment )
\r
{
\r
\r
parser.onComment = function( comment )
\r
{
\r
+ checkPending();
\r
currentNode.add( new CKEDITOR.htmlParser.comment( comment ) );
\r
};
\r
\r
currentNode.add( new CKEDITOR.htmlParser.comment( comment ) );
\r
};
\r
\r