From 995680833b05d27d25d25ce890a53b68d4104390 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 30 Nov 2006 12:02:26 +0000 Subject: [PATCH] xml_encode() does not translate /'/ to ' since Internet Explorer can't display this(!) --- lib/ZOOM/IRSpy/Utils.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 1.7.10.4