Update by natay on Mon Jun 10 15:36:30 EDT 2019 from Admins-MacBook-Air.local
@@ -77,9 +77,9 @@ def create_messages(template, rec_list, sender=None, extra_context={}, subject="
tmpl = loader.get_template(template_name=template)
context = dict(sender=sender, subject=subject)
context.update(extra_context)
- print(context, template)
+
body = tmpl.render(context)
- html = mistune.markdown(body)
+ html = mistune.markdown(body, escape=False)
msgs = []
for rec in rec_list:
