aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorzsloan2024-08-19 18:53:31 +0000
committerAlexander_Kabui2024-08-28 15:02:46 +0300
commitfc1fbfc999f346fea44c89ef7480ad5159384ebf (patch)
treec9c7167812819a28c6dac3f976eaf015911c3aea /gn2/wqflask/templates
parent8ed48d68e9f89b37cee6c35e29993a231da0d69b (diff)
downloadgenenetwork2-fc1fbfc999f346fea44c89ef7480ad5159384ebf.tar.gz
Remove javascript escape function from View Collection page to fix encoding issues
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r--gn2/wqflask/templates/collections/view.html4
1 files 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