X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Fformater.js;h=ba2cbc574c748bbf081c0da06f62e3679ab1fbe8;hp=349abe759871cdf8e8d96620dea61de88c743678;hb=dc66525bdce5df290c5afe8d3f5eedb1a736d955;hpb=73eeebd801f82fd9b9eeba3c5757bb26e01ec648
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 + '';
}
);
};