]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/htmltidy.pm
avoid uninitialised value
[ikiwiki.git] / IkiWiki / Plugin / htmltidy.pm
index 19271b1366a71d848b69f36b2edc27e23c87b7da..9591fbe04b3d7a9ef5a0718fc3bc8ff36b1741a3 100644 (file)
@@ -22,7 +22,7 @@ sub sanitize (@) { #{{{
        my $pid;
        my $sigpipe=0;
        $SIG{PIPE}=sub { $sigpipe=1 };
-       $pid=open2(*IN, *OUT, 'tidy -quiet -asxhtml -utf8 --show-body-only yes --show-warnings no --tidy-mark no');
+       $pid=open2(*IN, *OUT, 'tidy -quiet -asxhtml -utf8 --show-body-only yes --show-warnings no --tidy-mark no --markup yes');
        
        # open2 doesn't respect "use open ':utf8'"
        binmode (IN, ':utf8');