[SI-LINDER-PARTNER-4][OSC] - Ajout d'un mode à l'export Universel (ExU) pour prendre en charge la gestion du cas où l'on désire exporter les produits avec les images sans filigranes /* * The SI_NettoyageHTML function is build by Saphyra Interactive (based on original work of nettoyage_html) * Under the MIT license. You're free to use, change and distribute the code, but can not * hold the developers liable. */ function SI_NettoyageHTML($stringToPurge) { $stringToPurge = html_entity_decode($stringToPurge); $stringToPurge = str_replace("’", "'", $stringToPurge); // cf http://www.developpez.net/forums/d687102/php/langage/fonctions/fonction-html_entity_decode-rsquo/ $stringToPurge = strip_tags($stringToPurge); $stringToPurge = trim($stringToPurge); $stringToPurge = rtrim($stringToPurge); $stringToPurge = strtolower($stringToPurge); $stringToPurge = nl2br($stringToPurge); $stringToPurge = str_replace(chr(9), "", $stringToPurge); $stringToPurge = str_replace(chr(10), "", $stringToPurge); $stringToPurge = str_replace(chr(13), "", $stringToPurge); $stringToPurge = preg_replace("[<(.*?)>]", "", $stringToPurge); return $stringToPurge; } // <- [SI-LINDER-PARTNER-4][OSC] - Ajout d'un mode à l'export Universel (ExU) pour prendre en charge la gestion du cas où l'on désire exporter les produits avec les images sans filigranes