From 054f69993b7877680daa4b28841fddb176403a59 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 6 Jan 2021 11:59:59 -0800 Subject: [PATCH] Support bidirectional text in status content --- bookwyrm/templates/snippets/status_content.html | 4 ++-- bookwyrm/templates/snippets/trimmed_text.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bookwyrm/templates/snippets/status_content.html b/bookwyrm/templates/snippets/status_content.html index d2663653..49e1ecfa 100644 --- a/bookwyrm/templates/snippets/status_content.html +++ b/bookwyrm/templates/snippets/status_content.html @@ -3,7 +3,7 @@ {% if status.status_type == 'Review' %}

- {% if status.name %}{{ status.name }}
{% endif %} + {% if status.name %}{{ status.name }}
{% endif %}

{% include 'snippets/stars.html' with rating=status.rating %}

@@ -27,7 +27,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 e8a1fa75..c2fab3ff 100644 --- a/bookwyrm/templates/snippets/trimmed_text.html +++ b/bookwyrm/templates/snippets/trimmed_text.html @@ -6,18 +6,18 @@ {% if trimmed != full %}
-
-
{% else %} -
{{ full | to_markdown | safe }}
+
{{ full | to_markdown | safe }}
{% endif %} {% endwith %}