Skip to content

Commit 129a152

Browse files
committed
Corredted the rendering of non-ascii email names in nomcom templates.
- Legacy-Id: 15749
1 parent 8affebe commit 129a152

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/nomcom/templatetags/nomcom_tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def formatted_email(address):
4848
persons = Person.objects.filter(email__address__in=[addr])
4949
person = persons and persons[0] or None
5050
if person and person.name:
51-
return formataddr((person.plain_name(), addr))
51+
return "%s <%s>" % (person.plain_name(), addr)
5252
else:
5353
return address
5454

0 commit comments

Comments
 (0)