X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fhtmlparser.js;h=acd5ef5efb4752cd1951a2930d9b9883f699c0e2;hb=refs%2Ftags%2Fv3.3.2;hp=ac1420d7454c6b9d1de2ee1e6f8bdf2f54d733b5;hpb=66f4ae0bf0280ed56bf7c0f4ab175424dd1d47a0;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 ],