Need checkconfig hook; examples don't become default values.
},
htmltidy => {
type => "string",
- example => "tidy --show-body-only yes --show-warnings no --tidy-mark no --markup yes -quiet -asxhtml -utf8",
description => "tidy command line",
safe => 0, # path
- rebuild => 0,
+ rebuild => undef,
},
}
+sub checkconfig () {
+ if (! defined $config{htmltidy}) {
+ $config{htmltidy}="tidy -quiet -asxhtml -utf8 --show-body-only yes --show-warnings no --tidy-mark no --markup yes";
+ }
+}
+
sub sanitize (@) {
my %params=@_;
ikiwiki (3.20100927) UNRELEASED; urgency=low
* Fix test suite failure on other side of date line.
+ * htmltidy: Allow configuring tidy parameters in setup file.
+ (W. Trevor King)
-- Joey Hess <joeyh@debian.org> Wed, 29 Sep 2010 11:58:23 -0400