Skip to content

Commit 865bfc8

Browse files
0b10011marijnh
authored andcommitted
[continuelist addon] Should continue list even after special chars (space, !, etc)
1 parent 72217c5 commit 865bfc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/edit/continuelist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) {
88
var pos = cm.getCursor(),
9-
inList = cm.getStateAfter(pos.line).list,
9+
inList = cm.getStateAfter(pos.line).list !== false,
1010
match;
1111

1212
if (!inList || !(match = cm.getLine(pos.line).match(listRE))) {

0 commit comments

Comments
 (0)