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

(cherry picked from commit bbc00017a9)
This commit is contained in:
Igor Scheller 2022-02-20 11:51:58 +01:00 committed by Matthias Schiffer
parent 1e4cf25eb4
commit 64bf4d1b53
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

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>