]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/htmltidy.pm
rssurl and atomurl are only needed where $feeds is set
[ikiwiki.git] / IkiWiki / Plugin / htmltidy.pm
index cd5dc83acc6b1da5b990f18105070f1fba132487..19271b1366a71d848b69f36b2edc27e23c87b7da 100644 (file)
@@ -36,8 +36,8 @@ sub sanitize (@) { #{{{
        close IN;
        waitpid $pid, 0;
 
-       return $params{content} if $sigpipe;
        $SIG{PIPE}="DEFAULT";
+       return $params{content} if $sigpipe;
 
        return $ret;
 } # }}}