forked from mirrors/bookwyrm
Merge pull request #262 from mouse-reeve/minor-ui
Preserve linebreaks in display text
This commit is contained in:
commit
3db1e7a6d0
2 changed files with 6 additions and 5 deletions
|
@ -116,3 +116,8 @@ input.toggle-control:checked ~ .toggle-content {
|
||||||
content: "\e903";
|
content: "\e903";
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --- BLOCKQUOTE --- */
|
||||||
|
blockquote {
|
||||||
|
white-space: pre-line;
|
||||||
|
}
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
{% if book.description %}
|
<blockquote class="content">{% if book.description %}{{ book.description }}{% elif book.parent_work.description %}{{ book.parent_work.description }}{% endif %}</blockquote>
|
||||||
<blockquote class="content">{{ book.description }}</blockquote>
|
|
||||||
{% elif book.parent_work.description %}
|
|
||||||
<blockquote>{{ book.parent_work.description }}</blockquote>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue