Use the wordwrap filter instead of the fill filter when displaying meeting minutes and similar, to avoid messing up the formatting.
- Legacy-Id: 14060
This commit is contained in:
parent
0d4320fcdd
commit
52fe135c53
|
@ -124,7 +124,7 @@
|
|||
<h2>{% if doc.meeting_related %}Meeting{% endif %} {{ doc.type.name }}<br><small>{{ doc.name }}</small></h2>
|
||||
|
||||
{% if doc.rev and content != None %}
|
||||
{{ content|fill:"80"|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
|
||||
{{ content|wordwrap|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
|
||||
{% else %}
|
||||
<p>Not available as plain text.</p>
|
||||
|
||||
|
|
Loading…
Reference in a new issue