Merge pull request #732 from abhishek-webkul/gli-1498

Fixed: Fatal error: Uncaught Error: Class 'HTMLPurifier_Config' not found when enabling HTMLPurifier library
This commit is contained in:
Rohit Jain
2023-09-15 13:23:21 +05:30
committed by GitHub

View File

@@ -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;