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:
107a174
)
xml_encode() does not translate /'/ to ' since Internet Explorer
author
Mike Taylor
<mike@indexdata.com>
Thu, 30 Nov 2006 12:02:26 +0000
(12:02 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 30 Nov 2006 12:02:26 +0000
(12:02 +0000)
can't display this(!)
lib/ZOOM/IRSpy/Utils.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Utils.pm
b/lib/ZOOM/IRSpy/Utils.pm
index
9f672fe
..
071e226
100644
(file)
--- a/
lib/ZOOM/IRSpy/Utils.pm
+++ b/
lib/ZOOM/IRSpy/Utils.pm
@@
-1,4
+1,4
@@
-# $Id: Utils.pm,v 1.17 2006-11-29 18:15:10 mike Exp $
+# $Id: Utils.pm,v 1.18 2006-11-30 12:02:26 mike Exp $
package ZOOM::IRSpy::Utils;
@@
-46,7
+46,8
@@
sub xml_encode {
$text =~ s/&/&/g;
$text =~ s/</</g;
$text =~ s/>/>/g;
- $text =~ s/['']/'/g;
+ # Internet Explorer can't display ' (!) so don't create it
+ #$text =~ s/['']/'/g;
$text =~ s/[""]/"/g;
return $text;
}