Updated to make continue list in todo list default as unchecked

This commit is contained in:
Cheng-Han, Wu 2016-02-08 22:49:35 -06:00
parent eb29e763a4
commit acb9dac1b9

View file

@ -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;
}