Do not escape content for emails

This commit is contained in:
Yingtong Li 2019-02-13 15:24:38 +11:00
parent 8a2bb6dfd6
commit 114b810770
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -8,7 +8,7 @@ Hi {{ member.first_name if member else '[Name]' }}! Here's your latest news from
{% for item in group.bulletin_items %}{{ item.title }} {% for item in group.bulletin_items %}{{ item.title }}
-------------------------- --------------------------
{{ item.content }} {{ item.content|safe }}
{% if item.link %}Read more <{{ item.link }}> {% if item.link %}Read more <{{ item.link }}>
@ -18,7 +18,7 @@ Hi {{ member.first_name if member else '[Name]' }}! Here's your latest news from
{% for item in more %}{{ item.title }} {% for item in more %}{{ item.title }}
-------------------------- --------------------------
{{ item.content }} {{ item.content|safe }}
{% if item.link %}Read more <{{ item.link }}> {% if item.link %}Read more <{{ item.link }}>