Skip to content

Commit 1a519f2

Browse files
committed
In [10079], the inline template was inadvertently changed from unicode to ascii, which breaks a number of pages. Fixed this.
- Legacy-Id: 10119 Note: SVN reference [10079] has been migrated to Git commit 104878a
1 parent e1cc821 commit 1a519f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/ipr/templatetags/ipr_filters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ def render_message_for_history(msg):
1111
"""Format message for display in history. Suppress the 'To' line for incoming responses
1212
"""
1313
if msg.to.startswith('ietf-ipr+'):
14-
return format_html('Date: {}<br>From: {}<br>Subject: {}<br>Cc: {}<br><br>{}',
14+
return format_html(u'Date: {}<br>From: {}<br>Subject: {}<br>Cc: {}<br><br>{}',
1515
msg.time,msg.frm,msg.subject,msg.cc,msg.body)
1616
else:
17-
return format_html('Date: {}<br>From: {}<br>To: {}<br>Subject: {}<br>Cc: {}<br><br>{}',
17+
return format_html(u'Date: {}<br>From: {}<br>To: {}<br>Subject: {}<br>Cc: {}<br><br>{}',
1818
msg.time,msg.frm,msg.to,msg.subject,msg.cc,msg.body)
1919

2020

0 commit comments

Comments
 (0)