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:
parent
057c3724fe
commit
4ecadd8734
|
@ -51,6 +51,8 @@ module Middleman
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
params = params.delete_if {|key| key == :supported_extensions }
|
||||||
|
|
||||||
super(path, params)
|
super(path, params)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue