From 3e14893e327a7f66eccf9f0f2d254f8fd3b688b2 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Thu, 18 Apr 2024 11:36:21 -0400 Subject: [PATCH] add striptags to properties rendering (#1631) --- pygeoapi/templates/collections/items/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygeoapi/templates/collections/items/index.html b/pygeoapi/templates/collections/items/index.html index 4a3ea4c..6153d2d 100644 --- a/pygeoapi/templates/collections/items/index.html +++ b/pygeoapi/templates/collections/items/index.html @@ -92,7 +92,7 @@ {% for k in data['features'][0]['properties'].keys() %} {% if k not in [data.id_field, data.title_field, data.uri_field, 'extent'] %} {% set props = props.append(k) %} - {{ k }} + {{ k | striptags }} {% endif %} {% endfor %}