summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-09-26 22:44:52 -0400
committerJoey Hess <joey@kitenet.net>2010-09-26 22:44:52 -0400
commit1334695f4ca8a08ea94c176f5cc4c1fafa7aa31c (patch)
treea091c23c70e71b3c5b77aa6e7cb1bb12c326b703
parent43c99f907674de2207a7b411ee1b0c2996ce79d2 (diff)
parent5876968fa1ff1225542d2afd836d1027276bab44 (diff)
Merge remote branch 'remotes/smcv/ready/htmlbalance'
-rw-r--r--IkiWiki/Plugin/htmlbalance.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/htmlbalance.pm b/IkiWiki/Plugin/htmlbalance.pm
index 26f8e494b..da450eea7 100644
--- a/IkiWiki/Plugin/htmlbalance.pm
+++ b/IkiWiki/Plugin/htmlbalance.pm
@@ -43,7 +43,7 @@ sub sanitize (@) {
my @nodes = $tree->disembowel();
foreach my $node (@nodes) {
if (ref $node) {
- $ret .= $node->as_XML();
+ $ret .= $node->as_HTML(undef, '', {});
chomp $ret;
$node->delete();
}