diff --git a/lib/jekyll/tags/include.rb b/lib/jekyll/tags/include.rb index 389b6be9..1f47324b 100644 --- a/lib/jekyll/tags/include.rb +++ b/lib/jekyll/tags/include.rb @@ -41,9 +41,9 @@ module Jekyll markup = markup[match.end(0)..-1] value = if match[2] - match[2].gsub(%r!\\"!, '"') + match[2].gsub('\\"', '"') elsif match[3] - match[3].gsub(%r!\\'!, "'") + match[3].gsub("\\'", "'") elsif match[4] context[match[4]] end