diff options
author | zsloan | 2024-08-19 18:53:31 +0000 |
---|---|---|
committer | Alexander_Kabui | 2024-08-28 15:02:46 +0300 |
commit | fc1fbfc999f346fea44c89ef7480ad5159384ebf (patch) | |
tree | c9c7167812819a28c6dac3f976eaf015911c3aea /gn2/wqflask/templates | |
parent | 8ed48d68e9f89b37cee6c35e29993a231da0d69b (diff) | |
download | genenetwork2-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.html | 4 |
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 |