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.3.2
[ckeditor.git]
/
_source
/
core
/
htmlparser.js
diff --git
a/_source/core/htmlparser.js
b/_source/core/htmlparser.js
index
ac1420d
..
acd5ef5
100644
(file)
--- a/
_source/core/htmlparser.js
+++ b/
_source/core/htmlparser.js
@@
-172,6
+172,12
@@
CKEDITOR.htmlParser = function()
if ( ( tagName = parts[ 3 ] ) )
\r
{
\r
tagName = tagName.toLowerCase();
\r
if ( ( tagName = parts[ 3 ] ) )
\r
{
\r
tagName = tagName.toLowerCase();
\r
+
\r
+ // There are some tag names that can break things, so let's
\r
+ // simply ignore them when parsing. (#5224)
\r
+ if ( /="/.test( tagName ) )
\r
+ continue;
\r
+
\r
var attribs = {},
\r
attribMatch,
\r
attribsPart = parts[ 4 ],
\r
var attribs = {},
\r
attribMatch,
\r
attribsPart = parts[ 4 ],
\r