diff options
author | intrigeri <intrigeri@boum.org> | 2009-08-27 19:56:37 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-08-27 19:56:37 +0200 |
commit | 0c032b0ccb3766c422980a0e956dacbe44cfa021 (patch) | |
tree | 3f7d5d2821fee7f336bdabfa56e71f7048e77569 /IkiWiki | |
parent | 496e8523c6706d096f1b794e3f3ba5dd2fa260f3 (diff) | |
parent | 5e515b493c00c70095aeb8bad1e0b7757ed943db (diff) |
Merge commit 'upstream/master' into prv/po
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/htmltidy.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/htmltidy.pm b/IkiWiki/Plugin/htmltidy.pm index 6f3379ef4..fc0d3b1d6 100644 --- a/IkiWiki/Plugin/htmltidy.pm +++ b/IkiWiki/Plugin/htmltidy.pm @@ -46,7 +46,10 @@ sub sanitize (@) { waitpid $pid, 0; $SIG{PIPE}="DEFAULT"; - return "" if $sigpipe || ! defined $ret; + if ($sigpipe || ! defined $ret) { + print STDERR gettext("warning: tidy failed")."\n"; + return ""; + } return $ret; } |