mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 01:38:24 -05:00
Ruby 1.8.7 only supports 1 param to Regexp.match()
This commit is contained in:
@@ -34,8 +34,8 @@ Valid syntax:
|
||||
eos
|
||||
end
|
||||
|
||||
while match = MATCHER.match(markup, pos) do
|
||||
pos = match.end(0)
|
||||
while match = MATCHER.match(markup) do
|
||||
markup = markup[match.end(0)..-1]
|
||||
|
||||
if match[2]
|
||||
value = match[2].gsub(/\\"/, '"')
|
||||
|
||||
Reference in New Issue
Block a user