]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/htmltidy.pm
web commit by neal
[git.ikiwiki.info.git] / IkiWiki / Plugin / htmltidy.pm
index fa08e4ef5d29f218018fa9da172a1fe2f5b1eb5a..e3929731991ab1e9c37fd1f7d4910d42ee820e4d 100644 (file)
@@ -17,7 +17,7 @@ sub import { #{{{
 } # }}}
 
 sub sanitize ($) { #{{{
 } # }}}
 
 sub sanitize ($) { #{{{
-       open2(*IN, *OUT, 'tidy -quiet -xml -indent -utf8') or return shift;
+       open2(*IN, *OUT, 'tidy -quiet -asxhtml -utf8 --show-body-only yes --show-warnings no --tidy-mark no') or return shift;
        # open2 doesn't respect "use open ':utf8'"
        binmode (IN, ':utf8'); 
        binmode (OUT, ':utf8'); 
        # open2 doesn't respect "use open ':utf8'"
        binmode (IN, ':utf8'); 
        binmode (OUT, ':utf8');