diff --git a/js/iD/format/XML.js b/js/iD/format/XML.js index 24e3938b8..437c5e3ee 100644 --- a/js/iD/format/XML.js +++ b/js/iD/format/XML.js @@ -30,7 +30,7 @@ iD.format.XML = { )); }, way: function(entity) { - return iD.XML.decode( + return iD.format.XML.decode( (new XMLSerializer()).serializeToString( JXON.unbuild({ way: {