gluon-web-osm: Fix " rendering in attribution with CDATA tag (#2398)
This commit is contained in:
parent
65f5a3b0dd
commit
bbc00017a9
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user