mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 18:11:09 +00:00
Merge pull request #1453 from bookwyrm-social/status-whitespace
Preserve whitespace in statuses
This commit is contained in:
commit
6bb0f3bc8f
2 changed files with 4 additions and 2 deletions
|
@ -92,7 +92,7 @@
|
||||||
>
|
>
|
||||||
{% if status.quote %}
|
{% if status.quote %}
|
||||||
<div class="quote block">
|
<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>
|
<p>
|
||||||
— {% include 'snippets/book_titleby.html' with book=status.book %}
|
— {% include 'snippets/book_titleby.html' with book=status.book %}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
{% if not no_trim and trimmed != full %}
|
{% if not no_trim and trimmed != full %}
|
||||||
<div id="hide_full_{{ uuid }}">
|
<div id="hide_full_{{ uuid }}">
|
||||||
<div class="content" id="trimmed_{{ uuid }}">
|
<div class="content" id="trimmed_{{ uuid }}">
|
||||||
<div dir="auto">{{ trimmed }}</div>
|
<div dir="auto" class="preserve-whitespace">{{ trimmed }}</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
{% if not hide_more %}
|
{% if not hide_more %}
|
||||||
|
@ -25,6 +25,7 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div
|
<div
|
||||||
dir="auto"
|
dir="auto"
|
||||||
|
class="preserve-whitespace"
|
||||||
{% if itemprop %}itemprop="{{ itemprop }}"{% endif %}
|
{% if itemprop %}itemprop="{{ itemprop }}"{% endif %}
|
||||||
>
|
>
|
||||||
{{ full }}
|
{{ full }}
|
||||||
|
@ -41,6 +42,7 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div
|
<div
|
||||||
dir="auto"
|
dir="auto"
|
||||||
|
class="preserve-whitespace"
|
||||||
{% if itemprop %}itemprop="{{ itemprop }}"{% endif %}
|
{% if itemprop %}itemprop="{{ itemprop }}"{% endif %}
|
||||||
>
|
>
|
||||||
{{ full }}
|
{{ full }}
|
||||||
|
|
Loading…
Reference in a new issue