mirror of
https://github.com/getgrav/grav.git
synced 2026-02-10 00:27:46 +01:00
Fix for invalid HTML with StaticImageMedium #1001
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
* Removed 307 redirect code option as it is not well supported [#743](https://github.com/getgrav/grav-plugin-admin/issues/743)
|
||||
* Fixed issue with folders with name `*.md` are not confused with pages [#995](https://github.com/getgrav/grav/issues/995)
|
||||
* Fixed an issue when filtering collections causing null key
|
||||
* Fix for invalid HTML when rendering GIF and Vector media [#1001](https://github.com/getgrav/grav/issues/1001)
|
||||
|
||||
# v1.1.3
|
||||
## 08/14/2016
|
||||
|
||||
@@ -23,6 +23,6 @@ class StaticImageMedium extends Medium
|
||||
{
|
||||
empty($attributes['src']) && $attributes['src'] = $this->url($reset);
|
||||
|
||||
return [ 'name' => 'image', 'attributes' => $attributes ];
|
||||
return [ 'name' => 'img', 'attributes' => $attributes ];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user