From 86850fba8c3ad72fa3f43514e4cee96d631da98f Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 7 Nov 2006 17:18:29 +0000 Subject: [PATCH] Correct HTML-encoding of debug output in dom_add_element() Comment out this debugging output anyway. --- lib/ZOOM/IRSpy/Utils.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ZOOM/IRSpy/Utils.pm b/lib/ZOOM/IRSpy/Utils.pm index e52747f..7fa27dc 100644 --- a/lib/ZOOM/IRSpy/Utils.pm +++ b/lib/ZOOM/IRSpy/Utils.pm @@ -1,4 +1,4 @@ -# $Id: Utils.pm,v 1.5 2006-11-01 11:46:10 mike Exp $ +# $Id: Utils.pm,v 1.6 2006-11-07 17:18:29 mike Exp $ package ZOOM::IRSpy::Utils; @@ -126,9 +126,9 @@ sub dom_add_element { warn scalar(@nodes), " nodes match parent '$ppath'" if @nodes > 1; my $node = $nodes[0]; - if (1) { + if (0) { my $text = xml_encode(inheritance_tree($xc)); - $text =~ s/\n/$1/sg; + $text =~ s/\n/$&/sg; print "
$text
\n"; } } -- 1.7.10.4