Skip to content

Commit

Permalink
[CPNHUB-157] fix: Email subjects include html entities from template …
Browse files Browse the repository at this point in the history
…vars (#108)
  • Loading branch information
MarkLark86 authored May 11, 2023
1 parent 464881a commit 1ac1d09
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/data/email_templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,20 @@
}
}, {
"_id": "agenda_updated_email",
"init_version": 4,
"init_version": 5,
"subject": {
"default": "{{ agenda.name or agenda.headline or agenda.slugline | safe }} -{{ ' Coverage' if coverage_modified else '' }} updated",
"default": "{{ (agenda.name or agenda.headline or agenda.slugline) | safe }} -{{ ' Coverage' if coverage_modified else '' }} updated",
"translations": {
"fr_ca": "{{ agenda.name or agenda.headline or agenda.slugline | safe }} - {% if coverage_modified %}Couverture mise à jour{% else %}Événement mis à jour{% endif %}"
"fr_ca": "{{ (agenda.name or agenda.headline or agenda.slugline) | safe }} - {% if coverage_modified %}Couverture mise à jour{% else %}Événement mis à jour{% endif %}"
}
}
}, {
"_id": "coverage_request_email",
"init_version": 2,
"init_version": 3,
"subject": {
"default": "Coverage inquiry: {{ item.name or item.slugline | safe }}",
"default": "Coverage inquiry: {{ (item.name or item.slugline) | safe }}",
"translations": {
"fr_ca": "Requête de couverture: {{ item.name or item.slugline | safe }}"
"fr_ca": "Requête de couverture: {{ (item.name or item.slugline) | safe }}"
}
}
}, {
Expand Down

0 comments on commit 1ac1d09

Please sign in to comment.