]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/htmltidy.pm
web commit by http://edward.myopenid.com/: spelling fix and link [[hyperestraier]]
[git.ikiwiki.info.git] / IkiWiki / Plugin / htmltidy.pm
index cd5dc83acc6b1da5b990f18105070f1fba132487..19271b1366a71d848b69f36b2edc27e23c87b7da 100644 (file)
@@ -36,8 +36,8 @@ sub sanitize (@) { #{{{
        close IN;
        waitpid $pid, 0;
 
        close IN;
        waitpid $pid, 0;
 
-       return $params{content} if $sigpipe;
        $SIG{PIPE}="DEFAULT";
        $SIG{PIPE}="DEFAULT";
+       return $params{content} if $sigpipe;
 
        return $ret;
 } # }}}
 
        return $ret;
 } # }}}