Skip to content

Commit 6ea0881

Browse files
committed
Strip the HTML tags around the new values in the mail produced by email_iesg_processing_document. Also, provide the previously missing URL at the end of the message. Fixes 2455.
- Legacy-Id: 14655
1 parent de6121c commit 6ea0881

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ietf/doc/mails.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,15 @@ def email_pulled_from_rfc_queue(request, doc, comment, prev_state, next_state):
7979

8080
def email_iesg_processing_document(request, doc, changes):
8181
addrs = gather_address_lists('doc_iesg_processing_started',doc=doc)
82+
tagless_changes = []
83+
for c in changes:
84+
tagless_changes.append(strip_tags(c))
8285
send_mail(request, addrs.to, None,
8386
'IESG processing details changed for %s' % doc.name,
8487
'doc/mail/email_iesg_processing.txt',
8588
dict(doc=doc,
86-
changes=changes),
89+
changes=tagless_changes,
90+
url=settings.IDTRACKER_BASE_URL + doc.get_absolute_url()),
8791
cc=addrs.cc)
8892

8993
def html_to_text(html):

0 commit comments

Comments
 (0)