projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe758a
)
Correct HTML-encoding of debug output in dom_add_element()
author
Mike Taylor
<mike@indexdata.com>
Tue, 7 Nov 2006 17:18:29 +0000
(17:18 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 7 Nov 2006 17:18:29 +0000
(17:18 +0000)
Comment out this debugging output anyway.
lib/ZOOM/IRSpy/Utils.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Utils.pm
b/lib/ZOOM/IRSpy/Utils.pm
index
e52747f
..
7fa27dc
100644
(file)
--- 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/<br\/>$1/sg;
+ $text =~ s/\n/<br\/>$&/sg;
print "<pre>$text</pre>\n";
}
}