diff --git a/templates/note/view.html.twig b/templates/note/view.html.twig index 29495221d9..040e7cf029 100644 --- a/templates/note/view.html.twig +++ b/templates/note/view.html.twig @@ -38,9 +38,15 @@ {% else %} -
- {{ attachment.getTitle() }} -
+ {% for show in handle_event('ShowAttachment', attachment) %} +
+ {{ show | raw }} +
+ {% else %} +
+ {{ attachment.getTitle() }} +
+ {% endfor %} {% endif %} {% endfor %}