From 969f047aeb5c8758629ba2ea5b3ca5aee4868cc6 Mon Sep 17 00:00:00 2001 From: doubaniux Date: Mon, 11 May 2020 19:40:11 +0800 Subject: [PATCH] break lines in book brief | fix #25 --- books/templates/books/detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/books/templates/books/detail.html b/books/templates/books/detail.html index 9c067de6..72335518 100644 --- a/books/templates/books/detail.html +++ b/books/templates/books/detail.html @@ -109,7 +109,7 @@
{% trans '简介' %}
{% if book.brief %} -

{{ book.brief }}

+

{{ book.brief | linebreaksbr }}

{% else %}

{% trans '暂无简介' %}

{% endif %}