Merge pull request #915 from quexer/patch-3
Update lib/ace/mode/markdown.js
This commit is contained in:
commit
69b899c211
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ oop.inherits(Mode, TextMode);
|
|||
(function() {
|
||||
this.getNextLineIndent = function(state, line, tab) {
|
||||
if (state == "listblock") {
|
||||
var match = /^((?:.+)?)([-+*][ ]+)/.exec(line);
|
||||
var match = /^((?:.+)?)(([-+*]|\d+\.)\s+)/.exec(line);
|
||||
if (match) {
|
||||
return new Array(match[1].length + 1).join(" ") + match[2];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue