Mark injected strings as safe

This commit is contained in:
Oliver Walters 2022-04-27 22:09:25 +10:00
parent 518e0743cb
commit fc3b062188
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ for a account and sign in below:{% endblocktrans %}</p>
<hr>
{% if login_message %}
<div>{{ login_message }}<hr></div>
<div>{{ login_message | safe }}<hr></div>
{% endif %}
<div class="btn-group float-right" role="group">
<button class="btn btn-success" type="submit">{% trans "Sign In" %}</button>

View File

@ -90,7 +90,7 @@
{% if navbar_message %}
{% include "spacer.html" %}
<div class='flex justify-content-center'>
{{ navbar_message }}
{{ navbar_message | safe }}
</div>
{% include "spacer.html" %}
{% include "spacer.html" %}