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

View File

@ -26,3 +26,6 @@ opened in December. Thanks to Chris Vigelius for the report.
2009-12-16 r145 issue #123 - Google Chart doesn't show when there is a large
volume of data in the system. This patch restricts the chart to 1000px wide.
2009-12-16 r146 Issue #121 Formatting fix for email subjects. Thanks,
Andreas Kotowicz.

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: