]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/htmltidy.pm
clean up use of IkiWiki::Receive
[ikiwiki.git] / IkiWiki / Plugin / htmltidy.pm
index fc0d3b1d68067593851f3da8203ccdfcd87e344e..e6d377f8ab96a853f0bfcbc51ab2d09126e6d14e 100644 (file)
@@ -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;