From 5a7a89ffc59d008a6dd6586d26ff1a1fbb3bc51f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 15 Mar 2008 13:58:08 -0400 Subject: * htmltidy: Pass --markup yes, in case tidy's config file disabled it. --- IkiWiki/Plugin/htmltidy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin/htmltidy.pm') diff --git a/IkiWiki/Plugin/htmltidy.pm b/IkiWiki/Plugin/htmltidy.pm index 19271b136..9591fbe04 100644 --- a/IkiWiki/Plugin/htmltidy.pm +++ b/IkiWiki/Plugin/htmltidy.pm @@ -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'); -- cgit v1.2.3