diff options
author | zsloan | 2024-07-20 16:23:22 +0000 |
---|---|---|
committer | zsloan | 2024-07-20 16:23:22 +0000 |
commit | 60aa1e631739dd17e7b3fbe3b18f41a4f017f20b (patch) | |
tree | 8e2fa1c24c9006b2a327acec28e43e168e579d9e /gn2/wqflask/templates/search_result_page.html | |
parent | 42c97bdca1d54d12a7e0f46f854ef0321ed2ec49 (diff) | |
download | genenetwork2-60aa1e631739dd17e7b3fbe3b18f41a4f017f20b.tar.gz |
Stop using the escape function for descriptions on the search result page
Apparently escape is deprecated, and it's also introducing some issues. We may encounter other descriptions with problems as a result of this, but they should be fixed in a different way.
Diffstat (limited to 'gn2/wqflask/templates/search_result_page.html')
-rw-r--r-- | gn2/wqflask/templates/search_result_page.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gn2/wqflask/templates/search_result_page.html b/gn2/wqflask/templates/search_result_page.html index aad7fd99..334dbc77 100644 --- a/gn2/wqflask/templates/search_result_page.html +++ b/gn2/wqflask/templates/search_result_page.html @@ -238,9 +238,9 @@ description = data.description.slice(0, 200) + '...' } try { - return decodeURIComponent(escape(description)) + return decodeURIComponent(description) } catch(err){ - return escape(description) + return description } } }, @@ -306,9 +306,9 @@ description = data.description.slice(0, 200) + '...' } try { - return decodeURIComponent(escape(description)) + return decodeURIComponent(description) } catch(err){ - return escape(description) + return description } } }, |