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

Commit fdca517

Browse files
committed
Move required whitespace earlier
1 parent e103915 commit fdca517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/javascripts/task_list.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ itemPattern = ///
125125
#{escapePattern(complete)}|
126126
#{escapePattern(incomplete)}
127127
)
128+
(?=\s) # is followed by whitespace
128129
(?! # but not a link to this destination
129130
\s*
130131
\(.*?\)
@@ -139,7 +140,6 @@ itemPattern = ///
139140
# (?:\(.*?\)|\[.*?\]) # because of destination or reference
140141
# (?:\s*[^\[\(]) # but itself not first part of a link
141142
# )
142-
(?=\s) # is followed by whitespace
143143
///
144144

145145
# Used to filter out code fences from the source for comparison only.

0 commit comments

Comments
 (0)