From 58e1f370c568af64a1dcbd9af1d5541b0e9314ed Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 17 Nov 2018 15:36:34 +1300 Subject: Unescape HTML in some cases --- web/app/view/map/BaseMap.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web/app/view/map/BaseMap.js') diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js index 26b9f7c1..67e08f68 100644 --- a/web/app/view/map/BaseMap.js +++ b/web/app/view/map/BaseMap.js @@ -41,8 +41,7 @@ Ext.define('Traccar.view.map.BaseMap', { case 'custom': layer = new ol.layer.Tile({ source: new ol.source.XYZ({ - url: new DOMParser() - .parseFromString(server.get('mapUrl'), 'text/html').documentElement.textContent, + url: Ext.String.htmlDecode(server.get('mapUrl')), attributions: '' }) }); -- cgit v1.2.3