Remove superfluous instance variable

This commit is contained in:
Joseph Wynn 2014-12-06 20:56:54 +00:00
parent b27e985eae
commit b9407d113b
1 changed files with 1 additions and 2 deletions

View File

@ -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