Skip to content

Commit

Permalink
#2042 이슈에서 수정된 xml_handler의 xml2json에서 이전과 다른 결과물을 반환하는 문제 고침
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed May 24, 2017
1 parent 512b7f5 commit 6ac2c97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/js/xml_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(/&amp;/g, '&').replace(/&quot;/g, '"').replace(/&lt;/g, '<').replace(/&gt;/g, '>');
if (!navigator.userAgent.match(/Trident/)) {
return txt.replace(/&amp;/g, '&');
} else {
return txt;
}
Expand Down

0 comments on commit 6ac2c97

Please sign in to comment.