diff --git a/index.html b/index.html index 84aa0e8a8..26c95b236 100644 --- a/index.html +++ b/index.html @@ -62,12 +62,14 @@ diff --git a/js/iD/format/XML.js b/js/iD/format/XML.js index 437c5e3ee..e63592c0e 100644 --- a/js/iD/format/XML.js +++ b/js/iD/format/XML.js @@ -5,25 +5,41 @@ iD.format.XML = { } }, decode: function(s) { - return s.replace(/>/g,'>'). - replace(//g,'>').replace(/