diff --git a/classes/Tools.php b/classes/Tools.php index c48c02177..58ab06580 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -3603,6 +3603,8 @@ exit; public static function purifyHTML($html, $uri_unescape = null, $allow_style = false) { + require_once(_PS_TOOL_DIR_.'htmlpurifier/HTMLPurifier.auto.php'); + static $use_html_purifier = null; static $purifier = null;