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
parent fbb2a355d7
commit 40a60efd28

View file

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