Fix for invalid HTML with StaticImageMedium #1001

This commit is contained in:
Andy Miller
2016-08-24 18:48:34 -06:00
parent d44ee8814a
commit 64ceef447c
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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 ];
}
}