img: Bugfix to width/height tags for scaled down image when only one dimension was provided. Thanks, Per Carlson.

master
Joey Hess 2011-11-17 18:53:23 -04:00
parent 2872e1d738
commit 106d55bf47
2 changed files with 9 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
ikiwiki (3.20111107) UNRELEASED; urgency=low
* img: Bugfix to width/height tags for scaled down image when only
one dimension was provided. Thanks, Per Carlson.
-- Joey Hess <joeyh@debian.org> Thu, 17 Nov 2011 18:52:23 -0400
ikiwiki (3.20111106) unstable; urgency=low
* searchquery.tmpl: Track escaping change in upstream template.

View File

@ -5,3 +5,5 @@ In those cases img plugin do generate HTML with the missing attribute as "empty"
If we instead always get the resulting the width and height from the resized image, and uses those values in the img attrs, we make IE happy (and all other renders as well).
A patch (tested and deployed) is sitting waiting in my git repository.
> I've applied your patch. Thanks! [[done]] --[[Joey]]