Skip to content

Commit

Permalink
Fixed any 'r' characters in the highlighted text are removed bug. (jk…
Browse files Browse the repository at this point in the history
…oleszar, juno#1)
  • Loading branch information
Junya Ogura committed Aug 19, 2009
1 parent b644b86 commit d45ef64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions assets/javascripts/markdown_extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -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* ");
});
}
Expand All @@ -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. ");
});
}
Expand Down

0 comments on commit d45ef64

Please sign in to comment.