Fix remove var_dump

This commit is contained in:
Laurent Destailleur 2024-05-14 19:38:31 +02:00
parent 1b2bad3f42
commit 5a82f4c6c7

View file

@ -8194,7 +8194,6 @@ function dol_htmlwithnojs($stringtoencode, $nouseofiframesandbox = 0, $check = '
},
$out
);
var_dump($out);
// Now we remove all remaining HTML entities starting with a number. We don't want such entities.
$out = preg_replace('/&#x?[0-9]+/i', '', $out); // For example if we have j&#x61vascript with an entities without the ; to hide the 'a' of 'javascript'.