From d75f33cfb29347beb5826df882a57e1e29b3b320 Mon Sep 17 00:00:00 2001 From: Kylie Date: Sat, 31 Jul 2021 13:16:47 -0400 Subject: [PATCH] Apply preserve-whitespace to profile summaries --- bookwyrm/templates/directory/user_card.html | 2 +- bookwyrm/templates/user/layout.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/directory/user_card.html b/bookwyrm/templates/directory/user_card.html index ca180dbc..34059fa6 100644 --- a/bookwyrm/templates/directory/user_card.html +++ b/bookwyrm/templates/directory/user_card.html @@ -18,7 +18,7 @@ -
+
{% if user.summary %} {{ user.summary|to_markdown|safe|truncatechars_html:81 }} {% else %} {% endif %} diff --git a/bookwyrm/templates/user/layout.html b/bookwyrm/templates/user/layout.html index 69455806..3897983b 100644 --- a/bookwyrm/templates/user/layout.html +++ b/bookwyrm/templates/user/layout.html @@ -28,7 +28,7 @@
{% if user.summary %} -
+
{{ user.summary|to_markdown|safe }}
{% endif %}