diff --git a/pygeoapi/templates/collections/collection.html b/pygeoapi/templates/collections/collection.html index 8cc1c84..d77cba1 100644 --- a/pygeoapi/templates/collections/collection.html +++ b/pygeoapi/templates/collections/collection.html @@ -76,7 +76,7 @@ map.addLayer(new L.TileLayer( '{{ config['server']['map']['url'] }}', { maxZoom: 18, - attribution: '{{ config['server']['map']['attribution'] }}' + attribution: '{{ config['server']['map']['attribution'] | safe }}' } )); diff --git a/pygeoapi/templates/collections/edr/query.html b/pygeoapi/templates/collections/edr/query.html index 89ecc34..e6355f9 100644 --- a/pygeoapi/templates/collections/edr/query.html +++ b/pygeoapi/templates/collections/edr/query.html @@ -32,7 +32,7 @@ map.addLayer(new L.TileLayer( '{{ config['server']['map']['url'] }}', { maxZoom: 18, - attribution: '{{ config['server']['map']['attribution'] }}' + attribution: '{{ config['server']['map']['attribution'] | safe }}' } )); diff --git a/pygeoapi/templates/collections/items/index.html b/pygeoapi/templates/collections/items/index.html index 5fb3184..bbafa58 100644 --- a/pygeoapi/templates/collections/items/index.html +++ b/pygeoapi/templates/collections/items/index.html @@ -124,7 +124,7 @@ map.addLayer(new L.TileLayer( '{{ config['server']['map']['url'] }}', { maxZoom: 18, - attribution: '{{ config['server']['map']['attribution'] }}' + attribution: '{{ config['server']['map']['attribution'] | safe }}' } )); var geojson_data = {{ data['features'] | to_json | safe }}; diff --git a/pygeoapi/templates/collections/items/item.html b/pygeoapi/templates/collections/items/item.html index 244f60a..bddc91c 100644 --- a/pygeoapi/templates/collections/items/item.html +++ b/pygeoapi/templates/collections/items/item.html @@ -124,7 +124,7 @@ map.addLayer(new L.TileLayer( '{{ config['server']['map']['url'] }}', { maxZoom: 18, - attribution: '{{ config['server']['map']['attribution'] }}' + attribution: '{{ config['server']['map']['attribution'] | safe }}' } )); var geojson_data = {{ data | to_json | safe }}; diff --git a/pygeoapi/templates/collections/tiles/index.html b/pygeoapi/templates/collections/tiles/index.html index 9158951..d63471a 100644 --- a/pygeoapi/templates/collections/tiles/index.html +++ b/pygeoapi/templates/collections/tiles/index.html @@ -73,7 +73,7 @@ map.addLayer(new L.TileLayer( '{{ config["server"]["map"]["url"] }}', { maxZoom: {{ data['maxzoom'] }}, - attribution: '{{ config["server"]["map"]["attribution"] }}' + attribution: '{{ config["server"]["map"]["attribution"] | safe }}' } )); diff --git a/pygeoapi/templates/stac/item.html b/pygeoapi/templates/stac/item.html index 9806d23..375c9da 100644 --- a/pygeoapi/templates/stac/item.html +++ b/pygeoapi/templates/stac/item.html @@ -94,7 +94,7 @@ map.addLayer(new L.TileLayer( '{{ config['server']['map']['url'] }}', { maxZoom: 18, - attribution: '{{ config['server']['map']['attribution'] }}' + attribution: '{{ config['server']['map']['attribution'] | safe }}' } )); var bbox_layer = L.polygon([