Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/assets/javascripts/task_list.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ itemPattern = ///
(?: # prefix, consisting of
\s* # optional leading whitespace
(?:>\s*)* # zero or more blockquotes
(?:[-+*]|(?:\d+\.)) # list item indicator
(?:[-+*|]|(?:\d+\.)) # list item indicator
)
\s* # optional whitespace prefix
( # checkbox
Expand Down
2 changes: 1 addition & 1 deletion lib/task_list/filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Filter < HTML::Pipeline::Filter
# Useful when you need iterate over all items.
ItemPattern = /
^
(?:\s*[-+*]|(?:\d+\.))? # optional list prefix
(?:\s*[-+*|]|(?:\d+\.))? # optional list prefix
\s* # optional whitespace prefix
( # checkbox
#{CompletePattern}|
Expand Down