diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 37e87c6367f..c8b9cb27202 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2040,12 +2040,6 @@ if ($action == 'preview' || $action == 'createfromclone' || $action == 'createpa $i++; if ($i % 2 == 0) $tmpstyleinheader.=$valtmp."\n"; } - //$tmpstyleinheader.=''; - //$pos=strpos($tmpstyleinheader, ']*>)+/ims','aaa', $tmpstyleinheader); - //$tmpstyleinheader = preg_replace('/().*$/ims','$1', $tmpstyleinheader); - //$tmpstyleinheader = preg_replace('/.*]*>/ims','', $tmpstyleinheader); $tmpout.= $tmpstyleinheader."\n"; // Clean style that may affect global style of Dolibarr $tmpout=preg_replace('/}[\s\n]*body\s*{[^}]+}/ims','}',$tmpout);