mirror of https://github.com/status-im/codimd.git
Updated to make continue list in todo list default as unchecked
This commit is contained in:
parent
eb29e763a4
commit
acb9dac1b9
|
@ -41,6 +41,9 @@
|
|||
var bullet = unorderedListRE.test(match[2]) || match[2].indexOf(">") >= 0
|
||||
? match[2]
|
||||
: (parseInt(match[3], 10) + 1) + match[4];
|
||||
|
||||
// make todo list default unchecked
|
||||
after = after.replace('[x]', '[ ]');
|
||||
|
||||
replacements[i] = "\n" + indent + bullet + after;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue