diff options
author | zsloan | 2024-08-19 18:53:31 +0000 |
---|---|---|
committer | zsloan | 2024-08-19 18:53:31 +0000 |
commit | cf61dfb49c8201643840e0b4057d5d9b5cbccb96 (patch) | |
tree | 00a66ec0d63ef4dc045f7cfdd6a031822d6d6445 | |
parent | d44cf8f07feed7c764311ff3cea390d575ad0c22 (diff) | |
download | genenetwork2-cf61dfb49c8201643840e0b4057d5d9b5cbccb96.tar.gz |
Remove javascript escape function from View Collection page to fix encoding issues
-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 |