summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-08-27 19:56:37 +0200
committerintrigeri <intrigeri@boum.org>2009-08-27 19:56:37 +0200
commit0c032b0ccb3766c422980a0e956dacbe44cfa021 (patch)
tree3f7d5d2821fee7f336bdabfa56e71f7048e77569 /IkiWiki
parent496e8523c6706d096f1b794e3f3ba5dd2fa260f3 (diff)
parent5e515b493c00c70095aeb8bad1e0b7757ed943db (diff)
Merge commit 'upstream/master' into prv/po
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/htmltidy.pm5
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;
}