From: sgunderson@bigfoot.com <> Date: Sat, 12 Aug 2006 21:49:51 +0000 (+0200) Subject: Fix some cleaning bugs. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a4d68da7774d56b618cf5b4f0b9c4f7463e469bf;p=xml-template Fix some cleaning bugs. --- diff --git a/perl/XML/Template.pm b/perl/XML/Template.pm index 80115fc..19fa470 100644 --- a/perl/XML/Template.pm +++ b/perl/XML/Template.pm @@ -121,7 +121,6 @@ sub process { } $frag->dispose; - return; } clean($node, $nsup) if $clean; diff --git a/php/xml-template.php b/php/xml-template.php index bbc76f2..4f22d6e 100644 --- a/php/xml-template.php +++ b/php/xml-template.php @@ -102,8 +102,6 @@ function XML_Template_process($node, $obj, $clean = 1) } $node->remove_child($child); } - - return; } if ($clean) {