From: Gabriel McManus Date: Mon, 7 Jul 2008 11:33:01 +0000 (+1000) Subject: img: only provide alt text if it was specified X-Git-Tag: 3.03~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=950137eb6c4b5a75a01724736423e41ab3896e45;p=ikiwiki.git img: only provide alt text if it was specified if suitable alternate text is unknown, then it should not be given. empty alt text is suitable mainly for purely decorative images. (cherry picked from commit 3cd7f67f0cf894f4fd5ba16f68e82e4f7bdbfdc5) --- diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm index 5c580c03c..d295b833b 100644 --- a/IkiWiki/Plugin/img.pm +++ b/IkiWiki/Plugin/img.pm @@ -119,9 +119,9 @@ sub preprocess (@) { } my $imgtag='