aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/gnqa_answer.html
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/templates/gnqa_answer.html')
-rw-r--r--gn2/wqflask/templates/gnqa_answer.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html
index 7a637b20..25b8f107 100644
--- a/gn2/wqflask/templates/gnqa_answer.html
+++ b/gn2/wqflask/templates/gnqa_answer.html
@@ -1,9 +1,17 @@
+{% 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 />
- {{ answer|safe }}
+ <span id="gnqa-answer-box">{{ answer|safe }}</span>
</p>
<div class="rating row" data-doc-id="{{ query }}">
<button class="btn"