diff options
author | Alexander_Kabui | 2024-09-11 01:21:39 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-09-11 01:23:28 +0300 |
commit | 50fc0b4bc4106164745afc7e1099bb150f6e635f (patch) | |
tree | ae3af6cf8d6a0ad5f20c247724f2f3b5ec98b4ce /gn2 | |
parent | 613e8e973febdef73cffd6ca85a96d66893ffff0 (diff) | |
download | genenetwork2-50fc0b4bc4106164745afc7e1099bb150f6e635f.tar.gz |
Fixup Use white-space pre-line to show newlines for answer.
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/templates/gnqa_answer.html | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html index 69bb89f4..91fa4981 100644 --- a/gn2/wqflask/templates/gnqa_answer.html +++ b/gn2/wqflask/templates/gnqa_answer.html @@ -1,16 +1,9 @@ -{% block css %} - <style> -#gnqa-answer-box { - white-space: pre-line; - } - </style> -{% endblock %} <section class="container-fluid answers gnqa-copy"> <div class="row container gnqa-answer" style="margin-bottom: 1em"> <p class="row lead"> <mark style="font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif"><b><i>{{ query }}</i></b></mark> <br /> - <span id="gnqa-answer-box">{{ answer|safe }}</span> + <span style="white-space: pre-line">{{ answer|safe }}</span> </p> <div class="rating row" data-doc-id="{{ query }}"> <button class="btn" |