From e362ef9ef980f4b6601da355fab493b3226c5513 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 25 Sep 2022 01:14:20 -0600 Subject: [PATCH] Update atom feed, remove invalid entities --- resources/views/atom/user.blade.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/resources/views/atom/user.blade.php b/resources/views/atom/user.blade.php index 219c11ce4..792dd7466 100644 --- a/resources/views/atom/user.blade.php +++ b/resources/views/atom/user.blade.php @@ -7,20 +7,14 @@ {{$profile['username']}} on Pixelfed {{$profile['note']}} {{$profile['created_at']}} - - {{$profile['url']}} {{$profile['url']}} {{$profile['url']}} - {{$profile['note']}} - - -@foreach($items as $item) - - {{ strip_tags($item['content']) }} +@foreach($items as $item) + {{ $item['content'] ? strip_tags($item['content']) : "No caption" }} {{ $item['url'] }}