gluon-web-osm: Fix " rendering in attribution with CDATA tag (#2398)
(cherry picked from commit bbc00017a9
)
This commit is contained in:
parent
1e4cf25eb4
commit
64bf4d1b53
@ -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