friendica-github/view/templates/notifications/notification.tpl
Hypolite Petovan 30c4883aa6 Escape notification text in /notifications module
- This was causing literal HTML display names to be interpreted in the page
2023-05-14 09:13:26 -04:00

4 lines
297 B
Smarty

<div class="notif-item {{if !$item_seen}}unseen{{/if}}" {{if $item_seen}}aria-hidden="true"{{/if}}>
<a href="{{$notification.link}}"><img src="{{$notification.image}}" aria-hidden="true" class="notif-image">{{$notification.text}} <span class="notif-when">{{$notification.ago}}</span></a>
</div>