Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit fc0b015

Browse files
committed
List prefix is not optional
1 parent 0cee4bf commit fc0b015

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/assets/javascripts/task_list.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ completePattern = ///
115115
# Useful when you need iterate over all items.
116116
itemPattern = ///
117117
^
118-
(?: # optional prefix, consisting of
118+
(?: # prefix, consisting of
119119
\s* # optional leading whitespace
120120
(?:>\s*)* # zero or more blockquotes
121121
(?:[-+*]|(?:\d+\.)) # list item indicator
122-
)?
122+
)
123123
\s* # optional whitespace prefix
124124
( # checkbox
125125
#{escapePattern(complete)}|

0 commit comments

Comments
 (0)