X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/8e7eac3f6dd10c8a995584f8e090a7ad92c86c15..80f9b0badde3924575c4097bf914afef3fce72e7:/forum/skins/default/templates/notifications/feedback.html diff --git a/forum/skins/default/templates/notifications/feedback.html b/forum/skins/default/templates/notifications/feedback.html index 45e4f82..bb70300 100644 --- a/forum/skins/default/templates/notifications/feedback.html +++ b/forum/skins/default/templates/notifications/feedback.html @@ -1,8 +1,8 @@ {% load i18n extra_tags email_tags %} {% declare %} - prefix = settings.EMAIL_SUBJECT_PREFIX - app_name = settings.APP_SHORT_NAME + prefix = smart_str(settings.EMAIL_SUBJECT_PREFIX) + app_name = smart_str(settings.APP_SHORT_NAME) exclude_greeting = True exclude_finetune = True @@ -26,11 +26,11 @@ {% endhtmlcontent %} {% textcontent notifications/base_text.html %} -{% trans "Sender" %}: {% if name %}{{ name }}{% else %}{% trans "anonymous" %}{% endif %} -{% trans "email" %}: {{ email }} +{% trans "Sender" %}: {% if name %}{{ name|safe }}{% else %}{% trans "anonymous" %}{% endif %} +{% trans "email" %}: {{ email|safe }} ip: {{ ip }} -{% trans "Message body:" %} {{ message }} +{% trans "Message body:" %} {{ message|safe }} {% endtextcontent %} {% endemail %}