diff --git a/ecrire/inc_texte.php3 b/ecrire/inc_texte.php3 index caa9a3407bc2134b1df473053fbce3e6904adc81..32e069b04e0eeafe975a30f47f7012f2b396033b 100644 --- a/ecrire/inc_texte.php3 +++ b/ecrire/inc_texte.php3 @@ -569,7 +569,7 @@ function traiter_listes ($texte) { // chaque item a sa profondeur = nb d'etoiles unset ($type); while (list(,$item) = each($lignes)) { - ereg("^(\**|\#*)[[:space:]]*(.*)", $item, $regs); + ereg("^([*]*|[#]*)([^*#].*)", $item, $regs); $profond = strlen($regs[1]); if ($profond > 0) {