Issue #121: Formatting fix for e-mail subject. Thanks to Andreas Kotowicz for

the report.
This commit is contained in:
Ross Poulton
2009-12-16 08:43:40 +00:00
parent 2db9b0f432
commit acc3f691b5
2 changed files with 4 additions and 1 deletions

2
lib.py
View File

@ -90,7 +90,7 @@ def send_templated_mail(template_name, email_context, recipients, sender=None, b
).render(context)
subject_part = loader.get_template_from_string(
"{{ ticket.ticket }} {{ ticket.title }} %s" % t.subject
"{{ ticket.ticket }} {{ ticket.title|safe }} %s" % t.subject
).render(context)
if type(recipients) != list: