Improved wordwrap on materials document pages.

- Legacy-Id: 14585
This commit is contained in:
Henrik Levkowetz 2018-01-29 15:01:30 +00:00
parent affcb40d6a
commit fbb4b4447f

View file

@ -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|wordwrap|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
{{ content|maybewordwrap|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
{% else %}
<p>Not available as plain text.</p>