diff --git a/brutaldon/templates/main/notifications.html b/brutaldon/templates/main/notifications.html index 14bb9cc..3deab05 100644 --- a/brutaldon/templates/main/notifications.html +++ b/brutaldon/templates/main/notifications.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% load humanetime %} {% load taglinks %} +{% load sanitizer %} {% block title %} Brutaldon ({{ own_acct.username }}) - Notifications timelime @@ -27,7 +28,7 @@ mastodon.notifications()[0] {% if group.0.type == 'favourite' %}
{% for account in group.accounts %} - {% include "comma.html" %}{{ account.display_name }} + {% include "comma.html" %}{{ account.display_name | fix_emojos:account.emojis |strip_html |safe }} ({{ account.acct }}) {% endfor %} favorited your toot. @@ -37,7 +38,7 @@ mastodon.notifications()[0] {% elif group.0.type == 'reblog' %}
{% for account in group.accounts %} - {% include "comma.html" %}{{ account.display_name }} + {% include "comma.html" %}{{ account.display_name | fix_emojos:account.emojis |strip_html |safe }} ({{ account.acct }}) {% endfor %} boosted your toot. @@ -49,7 +50,7 @@ mastodon.notifications()[0] {% for note in group %} {% if note.type == 'mention' %}
- {{ note.account.display_name }} + {{ note.account.display_name | fix_emojos:note.account.emojis |strip_html |safe }} ({{ note.account.acct }}) mentioned you.
@@ -58,7 +59,7 @@ mastodon.notifications()[0]
- {{ note.account.display_name }}
+ {{ note.account.display_name | fix_emojos:note.account.emojis |strip_html |safe }}
({{ note.account.acct }})
boosted your toot.
(
@@ -69,7 +70,7 @@ mastodon.notifications()[0]
- {{ note.account.display_name }}
+ {{ note.account.display_name | fix_emojos:note.account.emojis |strip_html |safe }}
({{ note.account.acct }})
favorited your toot.
(
@@ -87,7 +88,7 @@ mastodon.notifications()[0]
{% elif note.type == 'favourite' %}