Skip to content

Commit 52fe135

Browse files
committed
Use the wordwrap filter instead of the fill filter when displaying meeting minutes and similar, to avoid messing up the formatting.
- Legacy-Id: 14060
1 parent 0d4320f commit 52fe135

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/templates/doc/document_material.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<h2>{% if doc.meeting_related %}Meeting{% endif %} {{ doc.type.name }}<br><small>{{ doc.name }}</small></h2>
125125

126126
{% if doc.rev and content != None %}
127-
{{ content|fill:"80"|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
127+
{{ content|wordwrap|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
128128
{% else %}
129129
<p>Not available as plain text.</p>
130130

0 commit comments

Comments
 (0)