From 92e4fa9e82bcdba58ae7247e395ea733e44c5387 Mon Sep 17 00:00:00 2001 From: mst Date: Mon, 16 Dec 2024 16:51:22 +0300 Subject: [PATCH] simplify card text --- templates/snippets/q-card-text.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/snippets/q-card-text.html b/templates/snippets/q-card-text.html index 7a76672..e0b7945 100644 --- a/templates/snippets/q-card-text.html +++ b/templates/snippets/q-card-text.html @@ -1,4 +1,4 @@ -
+
{% if question.cw %}

{{ question.cw }}

@@ -9,8 +9,6 @@ ({{ len(question.content) }} characters) {% else %} -
- {{ question.content | render_markdown }} -
+ {{ question.content | render_markdown }} {% endif %} -
\ No newline at end of file +