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>
<div> <div class="preserve-whitespace">
{% if user.summary %} {% if user.summary %}
{{ user.summary|to_markdown|safe|truncatechars_html:81 }} {{ user.summary|to_markdown|safe|truncatechars_html:81 }}
{% else %}&nbsp;{% endif %} {% else %}&nbsp;{% endif %}

View File

@ -28,7 +28,7 @@
</div> </div>
{% if user.summary %} {% 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 }} {{ user.summary|to_markdown|safe }}
</div> </div>
{% endif %} {% endif %}