Skip to content

Commit 3686b73

Browse files
committed
Add a clean_whitespace filter in some places to get rid of any newlines embedded in document titles.
- Legacy-Id: 2794
1 parent f341c5d commit 3686b73

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • ietf/templates/notify_expirations
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
The following draft will expire soon:
1+
{% load ietf_filters %}{% autoescape off %}The following draft will expire soon:
22

33
Filename: {{draft.filename}}
4-
Title: {{draft.title}}
4+
Title: {{draft.title|clean_whitespace}}
55
State: {{draft.idstate}}
66
Expires: {{expiration}} (in {{expiration|timeuntil}})
7+
{% endautoescape %}

0 commit comments

Comments
 (0)