From 3bc97b26ff361bf6007cd78e65ef1c195b651590 Mon Sep 17 00:00:00 2001 From: mst Date: Tue, 26 Nov 2024 14:53:48 +0300 Subject: [PATCH] some logic improvements --- templates/snippets/layout/question_card.html | 21 +++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/templates/snippets/layout/question_card.html b/templates/snippets/layout/question_card.html index 64e4293..5232fc5 100644 --- a/templates/snippets/layout/question_card.html +++ b/templates/snippets/layout/question_card.html @@ -29,7 +29,7 @@ ({{ len(answer.content) }} characters) {% else %} -
{{ answer.content | render_markdown }}
+
{{ answer.content | render_markdown }}
{% endif %} @@ -137,7 +146,7 @@ ({{ len(answer.content) }} characters) {% else %} -
{{ answer.content | render_markdown }}
+
{{ answer.content | render_markdown }}
{% endif %} -{% endif %} \ No newline at end of file +{% endif %}