Fix: #5
@ -299,6 +299,9 @@ function typoenluminee_post_typo($texte) {
// utilisé par la fonction couper() pour nettoyer le texte avant découpe
function typoenluminee_nettoyer_raccourcis_typo($texte) {
if (test_plugin_actif('couleurs_spip')) {
$texte = preg_replace(',\[/?[a-z_ ]+\],', '', $texte);
}
$texte = preg_replace(',\{[1-5]\{,', '', $texte);
$texte = preg_replace(',\}[1-5]\},', '', $texte);
$texte = preg_replace(',\{\{\{\*+,', '{{{', $texte);