]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/htmltidy.pm
signinedit: Auto-disable the plugin when all authentication methods are disabled.
[git.ikiwiki.info.git] / IkiWiki / Plugin / htmltidy.pm
index 6f3379ef457bddb7387c8485427ec88d51f5b0c5..e6d377f8ab96a853f0bfcbc51ab2d09126e6d14e 100644 (file)
@@ -46,7 +46,9 @@ sub sanitize (@) {
        waitpid $pid, 0;
 
        $SIG{PIPE}="DEFAULT";
-       return "" if $sigpipe || ! defined $ret;
+       if ($sigpipe || ! defined $ret) {
+               return gettext("htmltidy failed to parse this html");
+       }
 
        return $ret;
 }