divio/django-emailit — pull request #4 by szuliq (2013-07-19 09:12:47+00:00)
Title: Properly handle missing .html file

When no .html file is provided, the logic should not render `empty.txt`. Instead it should give up and set `html` to an empty string.

Currently empty string is passed to premailer causing `XMLSyntaxError` with `HTMLParser`.