Project

General

Profile

Markdown Extra Formatter bugs » redmine_mdx_formatter_js_list_bug.diff

Patch for text entry bug - John Koleszar, 2009-08-18 15:45

View differences:

assets/javascripts/markdown_extra.js
fn: {
wiki: function() {
this.encloseLineSelection('','',function(str) {
str = str.replace(/r/g,'');
return str.replace(/((?:\n|^)\s*)(\*|\d+\.)?\s*/g,"$1* ");
});
}
......
fn: {
wiki: function() {
this.encloseLineSelection('','',function(str) {
str = str.replace(/r/g,'');
return str.replace(/((?:\n|^)\s*)(\*|\d+\.)?\s*/g,"$11. ");
});
}
(1-1/2)