]> git.mxchange.org Git - friendica.git/commitdiff
Escape notification text in /notifications module
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 14 May 2023 13:13:26 +0000 (09:13 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 14 May 2023 13:13:26 +0000 (09:13 -0400)
- This was causing literal HTML display names to be interpreted in the page

view/templates/notifications/notification.tpl

index b5c684cd8224cbf63ca19c777628e333e11d6fa0..dcee492baa80eb9a0f6ed4409daf5a825cdfb8e8 100644 (file)
@@ -1,4 +1,4 @@
 
 <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 nofilter}} <span class="notif-when">{{$notification.ago}}</span></a>
+       <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>