aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/htmltidy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/htmltidy.pm')
-rw-r--r--IkiWiki/Plugin/htmltidy.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/htmltidy.pm b/IkiWiki/Plugin/htmltidy.pm
index fc0d3b1d6..e6d377f8a 100644
--- a/IkiWiki/Plugin/htmltidy.pm
+++ b/IkiWiki/Plugin/htmltidy.pm
@@ -47,8 +47,7 @@ sub sanitize (@) {
$SIG{PIPE}="DEFAULT";
if ($sigpipe || ! defined $ret) {
- print STDERR gettext("warning: tidy failed")."\n";
- return "";
+ return gettext("htmltidy failed to parse this html");
}
return $ret;