FIX #91
[euphorik.git] / js / formater.js
index 349abe7..ba2cbc5 100644 (file)
@@ -111,13 +111,13 @@ euphorik.Formater.prototype.traiterURL = function(m, nick) {
 euphorik.Formater.prototype.traiterWikiSyntaxe = function(m) {\r
    return m.replace(\r
       /(?:^| )_(.*?)_(?:$| )/g,\r
-      function(texte, capture) {\r
-         return '<em class="leger">' + capture + '</em>';\r
+      function(texte, c1, c2, c3) {\r
+         return '<em>' + c1 + c2 + c3 + '</em>';\r
       }\r
    ).replace(\r
       /(?:^| )\*(.*?)\*(?:$| )/g,\r
-      function(texte, capture) {\r
-         return '<em class="fort">' + capture + '</em>';\r
+      function(texte, c1, c2, c3) {\r
+         return '<strong>' + c1 + c2 + c3 + '</strong>';\r
       }\r
    );\r
 };\r