Issue #2552837 by smustgrave, pwolanin, alexpott: XSS::filter and filter_xss...
Issue #2552837 by smustgrave, pwolanin, alexpott: XSS::filter and filter_xss can create malformed attributes when you would expect them to be stripped
(cherry picked from commit 4421948a)