Add a clean_whitespace filter in some places to get rid of any newlines embedded in document titles.

- Legacy-Id: 2794
This commit is contained in:
Henrik Levkowetz 2011-02-02 15:19:27 +00:00
parent f341c5de0e
commit 3686b73dcd

View file

@ -1,6 +1,7 @@
The following draft will expire soon:
{% load ietf_filters %}{% autoescape off %}The following draft will expire soon:
Filename: {{draft.filename}}
Title: {{draft.title}}
Title: {{draft.title|clean_whitespace}}
State: {{draft.idstate}}
Expires: {{expiration}} (in {{expiration|timeuntil}})
{% endautoescape %}