diff --git a/templates/snippets/layout/question_card.html b/templates/snippets/layout/question_card.html index 5232fc5..dcc4176 100644 --- a/templates/snippets/layout/question_card.html +++ b/templates/snippets/layout/question_card.html @@ -1,24 +1,22 @@ {% if multipleAnswers %} {% for answer in answers %}
-
-
-
-

- {% if question.from_who %} - {{ question.from_who | render_markdown }} - {% else %} - {{ cfg.anonName }} - {% endif %} -

-

{{ formatRelativeTime(str(question.creation_date)) }}

-
- {% with question=question %} - {% include 'snippets/q-card-text.html' %} - {% endwith %} +
+
+

+ {% if question.from_who %} + {{ render_markdown(question.from_who, fromWho=True) }} + {% else %} + {{ cfg.anonName }} + {% endif %} +

+

{{ formatRelativeTime(str(question.creation_date)) }}

+ {% with question=question %} + {% include 'snippets/q-card-text.html' %} + {% endwith %}
-
+
{% if answer.cw %}
{{ answer.cw | render_markdown }}