diff --git a/lib/jekyll/responsive_image/tag.rb b/lib/jekyll/responsive_image/tag.rb index 8d41bf3..7c49fc4 100644 --- a/lib/jekyll/responsive_image/tag.rb +++ b/lib/jekyll/responsive_image/tag.rb @@ -5,9 +5,8 @@ module Jekyll super @attributes = {} - @markup = markup - @markup.scan(::Liquid::TagAttributes) do |key, value| + markup.scan(::Liquid::TagAttributes) do |key, value| # Strip quotes from around attribute values @attributes[key] = value.gsub(/^['"]|['"]$/, '') end