tfgg / constituencyvolunteernetwork

Automatically exported from code.google.com/p/constituencyvolunteernetwork
0 stars 1 forks source link

HTML in plain text email #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send task email

What is the expected output? What do you see instead?
Expect email with plain text and HTML components. Find that the plain text
includes HTML in the description field.

This is due to using the same description text for both

 message_html = render_to_string('tasks/email_new_task.html',
                                   email_context)
 message = render_to_string('tasks/email_new_task.txt',
                                   email_context)

Original issue reported on code.google.com by timothy.green@gmail.com on 28 Jan 2010 at 2:15

GoogleCodeExporter commented 9 years ago
Address in r387 , which simply strips the HTML out from the email description 
text.

Original comment by timothy.green@gmail.com on 30 Jan 2010 at 5:12

GoogleCodeExporter commented 9 years ago
Considering this finished for now (tho probably best to use a separate 
text-only field 
in the future as per comment on r387)

Original comment by seb.ba...@gmail.com on 2 Feb 2010 at 10:15