From 6ac2c9727de771b23de7987871c2711d5c5ea3aa Mon Sep 17 00:00:00 2001 From: bnu Date: Wed, 24 May 2017 13:13:30 +0900 Subject: [PATCH] =?UTF-8?q?#2042=20=EC=9D=B4=EC=8A=88=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=EB=90=9C=20xml=5Fhandler=EC=9D=98=20xml2json?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=9D=B4=EC=A0=84=EA=B3=BC=20=EB=8B=A4?= =?UTF-8?q?=EB=A5=B8=20=EA=B2=B0=EA=B3=BC=EB=AC=BC=EC=9D=84=20=EB=B0=98?= =?UTF-8?q?=ED=99=98=ED=95=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EA=B3=A0?= =?UTF-8?q?=EC=B9=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/xml_handler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/js/xml_handler.js b/common/js/xml_handler.js index 55e9630b84..fbe96b199f 100644 --- a/common/js/xml_handler.js +++ b/common/js/xml_handler.js @@ -157,8 +157,8 @@ function xml2json(xml, tab, ignoreAttrib) { .replace(/[\r]/g, '\\r'); }, unescape: function(txt) { - if (!navigator.userAgent.match(/Trident\/7.0/)) { - return txt.replace(/&/g, '&').replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>'); + if (!navigator.userAgent.match(/Trident/)) { + return txt.replace(/&/g, '&'); } else { return txt; }