Skip to content

Commit b304ebb

Browse files
Added a closing </p>' to a code example in docs/email.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 9a090b2 commit b304ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/email.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ To send a text and HTML combination, you could write::
314314

315315
subject, from_email, to = 'hello', 'from@example.com', 'to@example.com'
316316
text_content = 'This is an important message.'
317-
html_content = '<p>This is an <strong>important</strong> message.'
317+
html_content = '<p>This is an <strong>important</strong> message.</p>'
318318
msg = EmailMultiAlternatives(subject, text_content, from_email, to)
319319
msg.attach_alternative(html_content, "text/html")
320320
msg.send()

0 commit comments

Comments
 (0)