gluon-web-osm: Fix " rendering in attribution with CDATA tag

This commit is contained in:
Igor Scheller 2022-02-19 14:41:22 +01:00
parent 65f5a3b0dd
commit 263bda2e1d

View File

@ -1,6 +1,7 @@
<div id="<%=id%>" class="gluon-osm-map" style="display: none"></div>
<script type="text/javascript" src="/static/gluon-web-osm.js"></script>
<script type="text/javascript">
//<![CDATA[
(function() {
var elMap = document.getElementById(<%=json(id)%>);
var wrapper = elMap.parentNode;
@ -41,4 +42,5 @@
});
});
})();
//]]>
</script>