aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/htmltidy.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-15 13:58:08 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-15 13:58:08 -0400
commit5a7a89ffc59d008a6dd6586d26ff1a1fbb3bc51f (patch)
tree9226e96dd5883da1024db7c7a2290e9a9f37ede7 /IkiWiki/Plugin/htmltidy.pm
parente7ce86db11174606d06a6cfabfa9c41aa3cbd50e (diff)
downloadikiwiki-5a7a89ffc59d008a6dd6586d26ff1a1fbb3bc51f.tar
ikiwiki-5a7a89ffc59d008a6dd6586d26ff1a1fbb3bc51f.tar.gz
* htmltidy: Pass --markup yes, in case tidy's config file disabled it.
Diffstat (limited to 'IkiWiki/Plugin/htmltidy.pm')
-rw-r--r--IkiWiki/Plugin/htmltidy.pm2
1 files changed, 1 insertions, 1 deletions
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');