Apply preserve-whitespace to profile summaries

This commit is contained in:
Kylie 2021-07-31 13:16:47 -04:00
parent f2186d6861
commit d75f33cfb2
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
</div>
</div>
<div>
<div class="preserve-whitespace">
{% if user.summary %}
{{ user.summary|to_markdown|safe|truncatechars_html:81 }}
{% else %}&nbsp;{% endif %}

View file

@ -28,7 +28,7 @@
</div>
{% if user.summary %}
<div class="column box has-background-white-bis content">
<div class="column box has-background-white-bis content preserve-whitespace">
{{ user.summary|to_markdown|safe }}
</div>
{% endif %}