forked from mirrors/bookwyrm
Preserve whitespace in statuses
This commit is contained in:
parent
dbfc1a28bb
commit
3eb49f3f74
2 changed files with 4 additions and 2 deletions
|
@ -92,7 +92,7 @@
|
|||
>
|
||||
{% if status.quote %}
|
||||
<div class="quote block">
|
||||
<blockquote dir="auto" class="content mb-2">{{ status.quote|safe }}</blockquote>
|
||||
<blockquote dir="auto" class="content mb-2 preserve-whitespace">{{ status.quote|safe }}</blockquote>
|
||||
|
||||
<p>
|
||||
— {% include 'snippets/book_titleby.html' with book=status.book %}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{% if not no_trim and trimmed != full %}
|
||||
<div id="hide_full_{{ uuid }}">
|
||||
<div class="content" id="trimmed_{{ uuid }}">
|
||||
<div dir="auto">{{ trimmed }}</div>
|
||||
<div dir="auto" class="preserve-whitespace">{{ trimmed }}</div>
|
||||
|
||||
<div>
|
||||
{% if not hide_more %}
|
||||
|
@ -25,6 +25,7 @@
|
|||
<div class="content">
|
||||
<div
|
||||
dir="auto"
|
||||
class="preserve-whitespace"
|
||||
{% if itemprop %}itemprop="{{ itemprop }}"{% endif %}
|
||||
>
|
||||
{{ full }}
|
||||
|
@ -41,6 +42,7 @@
|
|||
<div class="content">
|
||||
<div
|
||||
dir="auto"
|
||||
class="preserve-whitespace"
|
||||
{% if itemprop %}itemprop="{{ itemprop }}"{% endif %}
|
||||
>
|
||||
{{ full }}
|
||||
|
|
Loading…
Reference in a new issue