mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05:00
Updated to make continue list in todo list default as unchecked
This commit is contained in:
parent
eb29e763a4
commit
acb9dac1b9
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue