Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reply.
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
htmltidy.pm
diff --git
a/IkiWiki/Plugin/htmltidy.pm
b/IkiWiki/Plugin/htmltidy.pm
index 1108aeb894e658a35eff011975c1c0b50d14a439..da77e60f1cb6198278e87897522fd74b553f95e9 100644
(file)
--- a/
IkiWiki/Plugin/htmltidy.pm
+++ b/
IkiWiki/Plugin/htmltidy.pm
@@
-41,6
+41,8
@@
sub checkconfig () {
sub sanitize (@) {
my %params=@_;
sub sanitize (@) {
my %params=@_;
+ return $params{content} unless defined $config{htmltidy};
+
my $pid;
my $sigpipe=0;
$SIG{PIPE}=sub { $sigpipe=1 };
my $pid;
my $sigpipe=0;
$SIG{PIPE}=sub { $sigpipe=1 };