Corrected image_tag helper so that supported_extensions doesn't appear in the tag attributes

The modifications to add FastImage support made it that supported_extensions="[.png .jpg .jpeg .bmp .gif]" appeared in the img tag attributes upon building the project.
This commit is contained in:
Krystian 2013-01-03 22:46:45 -05:00 committed by Thomas Reynolds
parent 057c3724fe
commit 4ecadd8734

View file

@ -51,6 +51,8 @@ module Middleman
end
end
end
params = params.delete_if {|key| key == :supported_extensions }
super(path, params)
end