From cf61dfb49c8201643840e0b4057d5d9b5cbccb96 Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 19 Aug 2024 18:53:31 +0000 Subject: Remove javascript escape function from View Collection page to fix encoding issues --- gn2/wqflask/templates/collections/view.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gn2/wqflask/templates/collections/view.html b/gn2/wqflask/templates/collections/view.html index 7e74442f..55669f09 100644 --- a/gn2/wqflask/templates/collections/view.html +++ b/gn2/wqflask/templates/collections/view.html @@ -214,9 +214,9 @@ 'render': function(data) { if (Object.hasOwn(data, 'description')){ try { - return decodeURIComponent(escape(data.description)) + return decodeURIComponent(data.description) } catch(err){ - return escape(data.description) + return data.description } } else if (Object.hasOwn(data, 'location')){ return data.location -- cgit v1.2.3