wiki: function() {
this.encloseLineSelection('','',function(str) {
str = str.replace(/\r/g,'');
- return str.replace(/(\n|^) *([^\n]*)/g,"$1> $2");
+ return str.replace(/(\n|^)( *)([^\n]*)/g,"$1> $2$3");
});
}
}
wiki: function() {
this.encloseLineSelection('','',function(str) {
str = str.replace(/\r/g,'');
- return str.replace(/(\n|^) *[>]? *([^\n]*)/g,"$1$2");
+ return str.replace(/(\n|^) *(> ?)?( *)([^\n]*)/g,"$1$3$4");
});
}
}
wiki: function() {
this.encloseLineSelection('','',function(str) {
str = str.replace(/\r/g,'');
- return str.replace(/(\n|^) *([^\n]*)/g,"$1> $2");
+ return str.replace(/(\n|^)( *)([^\n]*)/g,"$1> $2$3");
});
}
}
wiki: function() {
this.encloseLineSelection('','',function(str) {
str = str.replace(/\r/g,'');
- return str.replace(/(\n|^) *[>]? *([^\n]*)/g,"$1$2");
+ return str.replace(/(\n|^) *(> ?)?( *)([^\n]*)/g,"$1$3$4");
});
}
}