Skip to content

Commit

Permalink
Fix for invalid HTML with StaticImageMedium #1001
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Aug 25, 2016
1 parent d44ee88 commit 64ceef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Page/Medium/StaticImageMedium.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ protected function sourceParsedownElement(array $attributes, $reset = true)
{
empty($attributes['src']) && $attributes['src'] = $this->url($reset);

return [ 'name' => 'image', 'attributes' => $attributes ];
return [ 'name' => 'img', 'attributes' => $attributes ];
}
}

0 comments on commit 64ceef4

Please sign in to comment.