From 4eed832e336e6056464ebda246c5318e1c9d3a69 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Tue, 2 Sep 2008 19:33:24 +0000 Subject: [PATCH 1/1] =?utf8?q?FIX=20Le=20formatage=20wiki=20=C3=A9tait=20a?= =?utf8?q?ppliqu=C3=A9=20=C3=A0=20l'int=C3=A9rieur=20des=20url=20:=20http:?= =?utf8?q?//blabl.org=3Fsad=5Fasd=5Fdas,=20les=20underscores=20=C3=A9taien?= =?utf8?q?t=20pris=20en=20compte.=20VERSION=201.1.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- js/formateur.js | 4 ++-- pages/about.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 8cfbc90..8428158 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.1 \ No newline at end of file +1.1.2 \ No newline at end of file diff --git a/js/formateur.js b/js/formateur.js index b7ec0eb..5e8095a 100644 --- a/js/formateur.js +++ b/js/formateur.js @@ -110,12 +110,12 @@ euphorik.Formateur.prototype.traiterURL = function(m, pseudo) { */ euphorik.Formateur.prototype.traiterWikiSyntaxe = function(m) { return m.replace( - /_(.*?)_/g, + /(?:^| )_(.*?)_(?:$| )/g, function(texte, capture) { return '' + capture + ''; } ).replace( - /\*(.*?)\*/g, + /(?:^| )\*(.*?)\*(?:$| )/g, function(texte, capture) { return '' + capture + ''; } diff --git a/pages/about.html b/pages/about.html index 13c9fed..61909bb 100644 --- a/pages/about.html +++ b/pages/about.html @@ -1,7 +1,7 @@

euphorik.ch

-

Version : 1.1.1

+

Version : 1.1.2

Auteur : Pifou

FAQ

-- 2.43.0