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
fbb2a355d7
commit
40a60efd28
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ module Middleman
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
params = params.delete_if {|key| key == :supported_extensions }
|
||||
|
||||
super(path, params)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue