Escape map settings in map_fragment.html

This commit is contained in:
Yohan Boniface 2024-01-11 11:13:13 +01:00
parent 08e50567de
commit 66d2345841

View file

@ -1,4 +1,4 @@
{% load umap_tags %}
<umap-fragment data-settings='{{ map_settings|notag|safe }}'>
<umap-fragment data-settings='{{ map_settings|escape }}'>
<div id="{{ unique_id }}" class="map_fragment"></div>
</umap-fragment>