diff --git a/ecrire/inc/filtres_ecrire.php b/ecrire/inc/filtres_ecrire.php index 4a8466ede4b7f72499fb72c19d2e73a2450a7d8d..47f39f7e2c9d0f03503e36d9d136ba1aa3d4edc3 100644 --- a/ecrire/inc/filtres_ecrire.php +++ b/ecrire/inc/filtres_ecrire.php @@ -47,7 +47,8 @@ function balise_BOITE_OUVRIR_dist($p) { $_class = ($_class?", $_class":", 'simple'"); $_head_class = ($_head_class?", $_head_class":""); - $p->code = "boite_ouvrir($_titre$_class$_head_class)"; + $f = chercher_filtre('boite_ouvrir'); + $p->code = "$f($_titre$_class$_head_class)"; $p->interdire_scripts = false; return $p; } @@ -63,7 +64,8 @@ function balise_BOITE_PIED_dist($p) { $_class = interprete_argument_balise(1,$p); $_class = ($_class?"$_class":""); - $p->code = "boite_pied($_class)"; + $f = chercher_filtre('boite_pied'); + $p->code = "$f($_class)"; $p->interdire_scripts = false; return $p; } @@ -76,7 +78,8 @@ function balise_BOITE_PIED_dist($p) { * @return <type> */ function balise_BOITE_FERMER_dist($p) { - $p->code = "boite_fermer()"; + $f = chercher_filtre('boite_fermer'); + $p->code = "$f()"; $p->interdire_scripts = false; return $p; }