X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=inline;f=js%2Fformater.js;h=ba2cbc574c748bbf081c0da06f62e3679ab1fbe8;hb=87988321a3f12bc717451f12ddd62e93221a74d4;hp=349abe759871cdf8e8d96620dea61de88c743678;hpb=eb44db02bab9c8b082201aa153dea8229432e894;p=euphorik.git
diff --git a/js/formater.js b/js/formater.js
index 349abe7..ba2cbc5 100644
--- a/js/formater.js
+++ b/js/formater.js
@@ -111,13 +111,13 @@ euphorik.Formater.prototype.traiterURL = function(m, nick) {
euphorik.Formater.prototype.traiterWikiSyntaxe = function(m) {
return m.replace(
/(?:^| )_(.*?)_(?:$| )/g,
- function(texte, capture) {
- return '' + capture + '';
+ function(texte, c1, c2, c3) {
+ return '' + c1 + c2 + c3 + '';
}
).replace(
/(?:^| )\*(.*?)\*(?:$| )/g,
- function(texte, capture) {
- return '' + capture + '';
+ function(texte, c1, c2, c3) {
+ return '' + c1 + c2 + c3 + '';
}
);
};