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~742 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=995680833b05d27d25d25ce890a53b68d4104390;p=irspy-moved-to-github.git 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; }