mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Django 1.2 seems to be less permissive...
This commit is contained in:
@@ -214,7 +214,7 @@ class Email(object):
|
||||
else:
|
||||
body = lxml.html.tostring(body)
|
||||
body = re.sub("<(/?)body", lambda m: "<%sdiv" % m.group(1), body)
|
||||
body = Template(decode(body)).render({})
|
||||
body = Template(decode(body)).render(Context({}))
|
||||
return (False, body)
|
||||
|
||||
def parse_search_parameters(request):
|
||||
|
||||
Reference in New Issue
Block a user