X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fhtmlparser.js;h=acd5ef5efb4752cd1951a2930d9b9883f699c0e2;hb=055b6b0792ce7dc53d47af606b367c04b927c2ab;hp=ac1420d7454c6b9d1de2ee1e6f8bdf2f54d733b5;hpb=c6e377a02b54abc07129d72b632763c727476a15;p=ckeditor.git diff --git a/_source/core/htmlparser.js b/_source/core/htmlparser.js index ac1420d..acd5ef5 100644 --- a/_source/core/htmlparser.js +++ b/_source/core/htmlparser.js @@ -172,6 +172,12 @@ CKEDITOR.htmlParser = function() if ( ( tagName = parts[ 3 ] ) ) { tagName = tagName.toLowerCase(); + + // There are some tag names that can break things, so let's + // simply ignore them when parsing. (#5224) + if ( /="/.test( tagName ) ) + continue; + var attribs = {}, attribMatch, attribsPart = parts[ 4 ],