From: Mike Taylor Date: Thu, 30 Nov 2006 12:02:26 +0000 (+0000) Subject: xml_encode() does not translate /'/ to ' since Internet Explorer X-Git-Tag: CPAN-v1.02~54^2~687 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=096c905c3302c909744be3923f2ec8a05fad1276;hp=107a174e56c7b08f5401dd8d878fc143d93b879c xml_encode() does not translate /'/ to ' since Internet Explorer can't display this(!) --- diff --git a/lib/ZOOM/IRSpy/Utils.pm b/lib/ZOOM/IRSpy/Utils.pm index 9f672fe..071e226 100644 --- 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; + # Internet Explorer can't display ' (!) so don't create it + #$text =~ s/['']/'/g; $text =~ s/[""]/"/g; return $text; }