Skip to content

Commit

Permalink
Strip tags from notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Nov 12, 2024
1 parent cd42d2c commit 2c3ad8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Domain/Menu/Templates/headMenu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class='new'
{{ format($notif['datetime'])->date() }}
{{ format($notif['datetime'])->time() }}
</span>
<span class="notificationTitle">{!! $tpl->convertRelativePaths($notif['message']) !!}</span>
<span class="notificationTitle">{!! strip_tags($tpl->convertRelativePaths($notif['message'])) !!}</span>
</a>
</li>
@endforeach
Expand Down Expand Up @@ -123,7 +123,7 @@ class='new'
{{ format($notif['datetime'])->date() }}
{{ format($notif['datetime'])->time() }}
</span>
<span class="notificationTitle">{!! $tpl->convertRelativePaths($notif['message']) !!}</span>
<span class="notificationTitle">{!! strip_tags($tpl->convertRelativePaths($notif['message'])) !!}</span>
</a>
</li>
@endforeach
Expand Down

0 comments on commit 2c3ad8d

Please sign in to comment.