thewml / website-meta-language

An old offline HTML preprocessor (which can be used for static site generation), written in Perl and C that is still maintained for legacy reasons, but probably not recommended for new sites.
https://www.shlomifish.org/open-source/projects/website-meta-language/
GNU General Public License v2.0
14 stars 8 forks source link

Handle unsupported image formats better in htmlfix #1

Closed jcristau closed 6 years ago

jcristau commented 6 years ago

If Image::Size::imgsize returns undefined width/height, don't attempt to use those values, just bail out.

shlomif commented 6 years ago

On Sun, 29 Jul 2018 05:57:43 -0700 Julien Cristau notifications@github.com wrote:

If Image::Size::imgsize returns undefined width/height, don't attempt to use those values, just bail out. You can view, comment on, or merge this pull request online at:

https://github.com/thewml/website-meta-language/pull/1

-- Commit Summary --

  • Handle unsupported image formats better in htmlfix

-- File Changes --

M src/wml_backend/p7_htmlfix/htmlfix.src (7)

-- Patch Links --

https://github.com/thewml/website-meta-language/pull/1.patch https://github.com/thewml/website-meta-language/pull/1.diff

thanks for the PR! I'll take a look.

Regards,

Shlomi

--

Shlomi Fish http://www.shlomifish.org/ Free (Creative Commons) Music Downloads, Reviews and more - http://jamendo.com/

Birthdays are good for you. The more you have, the longer you live. — Source unknown, via Nadav Har’El.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

shlomif commented 6 years ago

merged, thanks!