From a787d96aaa0abb362cba1ad0bef86a663f9dbe7e Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Tue, 3 Jan 2006 11:08:21 +0000 Subject: [PATCH] =?UTF-8?q?avaler=20les=20espaces=20avant=20les=20[[notes]?= =?UTF-8?q?],=20histoire=20de=20ne=20pas=20g=C3=A9n=C3=A9rer=20d'horreurs?= =?UTF-8?q?=20du=20genre=20"mot=20 (1)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/inc_texte.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/inc_texte.php3 b/ecrire/inc_texte.php3 index b73073d416..b06dfb045f 100644 --- a/ecrire/inc_texte.php3 +++ b/ecrire/inc_texte.php3 @@ -930,7 +930,7 @@ function traiter_raccourcis($letexte) { // // Notes de bas de page // - $regexp = ',\[\[(.*?)\]\],ms'; + $regexp = ', *\[\[(.*?)\]\],ms'; if (preg_match_all($regexp, $letexte, $matches, PREG_SET_ORDER)) foreach ($matches as $regs) { $note_source = $regs[0]; -- GitLab