Preserve linebreaks in text
This commit is contained in:
parent
6e97592518
commit
95455d9538
|
@ -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 New Issue