aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-06-13 20:47:21 +0000
committerzsloan2022-06-13 21:03:28 +0000
commit710ac635482622021d46925a9c25207effa05386 (patch)
treeb920aa77bd3c508579dbde703e49d9c8acaecde1 /wqflask
parent0919a41a0e791784c3d7ccb953dfebbb96267c7f (diff)
downloadgenenetwork2-710ac635482622021d46925a9c25207effa05386.tar.gz
Add |safe to ensure HTML entites are correctly escaped for trait descriptions
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/show_trait.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/show_trait.html b/wqflask/wqflask/templates/show_trait.html
index 7074e21e..f366d33f 100644
--- a/wqflask/wqflask/templates/show_trait.html
+++ b/wqflask/wqflask/templates/show_trait.html
@@ -18,7 +18,7 @@
<div class="container">
<h2>Trait Data and Analysis for <b>{{ this_trait.display_name }}</b></h2>
{% if this_trait.dataset.type != 'Publish' %}
- <h3>{{ this_trait.description_fmt[0]|upper }}{{ this_trait.description_fmt[1:] }}</h3>
+ <h3>{{ this_trait.description_fmt[0]|upper }}{{ this_trait.description_fmt[1:]|safe }}</h3>
{% endif %}
</div>