diff --git a/NEWS b/NEWS index 57bf7ae3..cdec03e4 100644 --- a/NEWS +++ b/NEWS @@ -37,6 +37,8 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier %HTML.Allowed ! Config object gives more friendly error messages when things go wrong - Deprecated and removed EnableRedundantUTF8Cleaning. It didn't even work! +- DOMLex will not emit errors when a custom error handler that does not + honor error_reporting is used . Unit test for ElementDef created, ElementDef behavior modified to be more flexible . Added convenience functions for HTMLModule constructors diff --git a/library/HTMLPurifier/Lexer/DOMLex.php b/library/HTMLPurifier/Lexer/DOMLex.php index 9286b023..de9d6871 100644 --- a/library/HTMLPurifier/Lexer/DOMLex.php +++ b/library/HTMLPurifier/Lexer/DOMLex.php @@ -53,20 +53,17 @@ class HTMLPurifier_Lexer_DOMLex extends HTMLPurifier_Lexer '