From 1472f7d919e61df07ad958566cbb42e168cbc0c0 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 22 Apr 2021 06:58:21 -0700 Subject: [PATCH] Restores markdown rendering in book description previews --- bookwyrm/templates/snippets/status/generated_status.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/templates/snippets/status/generated_status.html b/bookwyrm/templates/snippets/status/generated_status.html index f3bbae44..cb65a6f2 100644 --- a/bookwyrm/templates/snippets/status/generated_status.html +++ b/bookwyrm/templates/snippets/status/generated_status.html @@ -13,7 +13,7 @@

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

-

{{ book|book_description|default:""|truncatewords_html:20 }}

+

{{ book|book_description|to_markdown|default:""|safe|truncatewords_html:20 }}

{% include 'snippets/shelve_button/shelve_button.html' with book=book %}