From 2bbb23b7d91b6264440c4941df8beb08b8d2b29b Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 27 Jul 2022 09:29:20 +0200 Subject: [PATCH] Set the title attr in addition to alt for images --- app/templates/utils.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/utils.html b/app/templates/utils.html index 874c11e..edecdfe 100644 --- a/app/templates/utils.html +++ b/app/templates/utils.html @@ -249,7 +249,7 @@ {% endif %} {% for attachment in object.attachments %} {% if attachment.type == "Image" or (attachment | has_media_type("image")) %} - {{ attachment.name }} + {{ attachment.name }} {% elif attachment.type == "Video" or (attachment | has_media_type("video")) %} {% elif attachment.type == "Audio" or (attachment | has_media_type("audio")) %}