Markdown Extra Formatter bugs » redmine_mdx_formatter_js_list_bug.diff
| 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. ");
|
||
|
});
|
||
|
}
|
||