From 5e5cb262907f0f8a3f3a6364ce17e32ce9877fbd Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 15 Nov 2021 11:41:29 -0800 Subject: [PATCH] Preserve spaces between links --- bookwyrm/templates/import/manual_review.html | 6 ++++-- bookwyrm/templates/snippets/book_titleby.html | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bookwyrm/templates/import/manual_review.html b/bookwyrm/templates/import/manual_review.html index b6c2b6b26..7e429a0fa 100644 --- a/bookwyrm/templates/import/manual_review.html +++ b/bookwyrm/templates/import/manual_review.html @@ -46,8 +46,10 @@ {% include 'snippets/book_cover.html' with book=guess cover_class='is-h-s' size='small' %} -
- {% include 'snippets/book_titleby.html' with book=guess %} +
+

+ {% include 'snippets/book_titleby.html' with book=guess %} +

{% csrf_token %} diff --git a/bookwyrm/templates/snippets/book_titleby.html b/bookwyrm/templates/snippets/book_titleby.html index 1c2bb176d..6dbaeb265 100644 --- a/bookwyrm/templates/snippets/book_titleby.html +++ b/bookwyrm/templates/snippets/book_titleby.html @@ -5,11 +5,9 @@ {% if book.authors.exists %} {% blocktrans trimmed with path=book.local_path title=book|book_title %} {{ title }} by -{% endblocktrans %} -{% include 'snippets/authors.html' with book=book limit=3 %} +{% endblocktrans %} {% include 'snippets/authors.html' with book=book limit=3 %} {% else %} {{ book|book_title }} {% endif %} - {% endspaceless %}