]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Merge remote branch 'remotes/smcv/ready/htmlbalance'
authorJoey Hess <joey@kitenet.net>
Mon, 27 Sep 2010 02:44:52 +0000 (22:44 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 27 Sep 2010 02:44:52 +0000 (22:44 -0400)
IkiWiki/Plugin/htmlbalance.pm

index 26f8e494bf537dba9f2b0c967c71fb9f26067b84..da450eea7ef691c8f16ed4e5a20a2603b0491c22 100644 (file)
@@ -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();
                }