From f5da1a35bfd8a443c9e351a2ca88da1fd0d541e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Tue, 16 Jun 2020 07:12:57 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20infowindow-view.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- carto.js/src/geo/ui/infowindow-view.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/carto.js/src/geo/ui/infowindow-view.js b/carto.js/src/geo/ui/infowindow-view.js index 685d69d..5aba016 100644 --- a/carto.js/src/geo/ui/infowindow-view.js +++ b/carto.js/src/geo/ui/infowindow-view.js @@ -94,7 +94,8 @@ var Infowindow = View.extend({ }, values); this.$el.html( - sanitize.html(this.template(obj), this.model.get('sanitizeTemplate')) +// sanitize.html(this.template(obj), this.model.get('sanitizeTemplate')) + sanitize.html(this.template(obj), false) ); // Set width and max-height from the model only