diff --git a/ecrire/public/phraser_html.php b/ecrire/public/phraser_html.php index 43d58570e2ccc899e6cebd50e4a13d17697aaaca..b7e1134df9b39f5a7d4cf3af95f55514006cd7f9 100644 --- a/ecrire/public/phraser_html.php +++ b/ecrire/public/phraser_html.php @@ -196,7 +196,7 @@ function phraser_args($texte, $fin, $sep, $result, &$pointeur_champ) { } function phraser_arg(&$texte, $sep, $result, &$pointeur_champ) { - preg_match(",^(\|?[^{)|]*)(.*)$,ms", $texte, $match); + preg_match(",^(\|?[^}{)|]*)(.*)$,ms", $texte, $match); $suite = ltrim($match[2]); $fonc = trim($match[1]); if ($fonc && $fonc[0] == "|") $fonc = ltrim(substr($fonc,1));