diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cbd6b50..08bf17ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ _This release is scheduled to be released on 2023-04-01._ - Fix wrong day labels in envcanada forecast (#2987) - Fix for missing default class name prefix for customEvents in calendar - Fix weathergov provider hourly forecast (#3008) +- Fix message display with HTML code into alert module (#2828) - Fix typo into french translation ## [2.22.0] - 2023-01-01 diff --git a/modules/default/alert/templates/alert.njk b/modules/default/alert/templates/alert.njk index a748d268..0a49df8a 100644 --- a/modules/default/alert/templates/alert.njk +++ b/modules/default/alert/templates/alert.njk @@ -14,5 +14,5 @@ {% if title %}
{% endif %} - {{ message }} + {{ message | safe }} {% endif %} diff --git a/modules/default/alert/templates/notification.njk b/modules/default/alert/templates/notification.njk index 1d67bcda..af3adf26 100644 --- a/modules/default/alert/templates/notification.njk +++ b/modules/default/alert/templates/notification.njk @@ -5,5 +5,5 @@ {% if title %}
{% endif %} - {{ message }} + {{ message | safe }} {% endif %}