gluon-web-osm: Fix " rendering in attribution with CDATA tag (#2398)

This commit is contained in:
Igor Scheller 2022-02-20 11:51:58 +01:00 committed by GitHub
parent 65f5a3b0dd
commit bbc00017a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>