From 3eb49f3f744f944bc50a716dcbb86adef9a10634 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 22 Sep 2021 12:18:12 -0700 Subject: [PATCH] Preserve whitespace in statuses --- bookwyrm/templates/snippets/status/content_status.html | 2 +- bookwyrm/templates/snippets/trimmed_text.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/snippets/status/content_status.html b/bookwyrm/templates/snippets/status/content_status.html index e62a178f..01734cc7 100644 --- a/bookwyrm/templates/snippets/status/content_status.html +++ b/bookwyrm/templates/snippets/status/content_status.html @@ -92,7 +92,7 @@ > {% if status.quote %}
-
{{ status.quote|safe }}
+
{{ status.quote|safe }}

— {% include 'snippets/book_titleby.html' with book=status.book %} diff --git a/bookwyrm/templates/snippets/trimmed_text.html b/bookwyrm/templates/snippets/trimmed_text.html index e0227a44..0c14405c 100644 --- a/bookwyrm/templates/snippets/trimmed_text.html +++ b/bookwyrm/templates/snippets/trimmed_text.html @@ -10,7 +10,7 @@ {% if not no_trim and trimmed != full %}

-
{{ trimmed }}
+
{{ trimmed }}
{% if not hide_more %} @@ -25,6 +25,7 @@
{{ full }} @@ -41,6 +42,7 @@
{{ full }}