diff --git a/assets/javascripts/markdown_extra.js b/assets/javascripts/markdown_extra.js index 8aa2258..73b170e 100644 --- a/assets/javascripts/markdown_extra.js +++ b/assets/javascripts/markdown_extra.js @@ -99,7 +99,6 @@ type: 'button', fn: { wiki: function() { this.encloseLineSelection('','',function(str) { - str = str.replace(/r/g,''); return str.replace(/((?:\n|^)\s*)(\*|\d+\.)?\s*/g,"$1* "); }); } @@ -113,7 +112,6 @@ type: 'button', fn: { wiki: function() { this.encloseLineSelection('','',function(str) { - str = str.replace(/r/g,''); return str.replace(/((?:\n|^)\s*)(\*|\d+\.)?\s*/g,"$11. "); }); }