diff --git a/ecrire/inc_index.php3 b/ecrire/inc_index.php3 index 5fdc4ff5a5461a2bc1089766b79db2dcbe57b54a..e7a41b6a4350d60a937cf6eb7a84844598924b62 100644 --- a/ecrire/inc_index.php3 +++ b/ecrire/inc_index.php3 @@ -49,6 +49,9 @@ function nettoyer_chaine_indexation($texte) { function indexer_chaine($texte, $val = 1, $min_long = 3) { global $index, $mots, $translitteration_complexe; + // Point d'entree pour traiter le texte avant indexation + $texte = pipeline('pre_indexation', $texte); + // Supprimer les tags $texte = ' '.preg_replace(',<.*>,Ums',' ',$texte).' '; // Nettoyer les entites HTML, signes diacritiques...