diff --git a/resources/views/atom/user.blade.php b/resources/views/atom/user.blade.php index 792dd7466..af7f5de69 100644 --- a/resources/views/atom/user.blade.php +++ b/resources/views/atom/user.blade.php @@ -1,32 +1,36 @@ ` won't get parsed as short tags */ - ''.PHP_EOL +/* Using an echo tag here so the `` won't get parsed as short tags */ +'' . PHP_EOL ?> - {{$permalink}} - {{$profile['username']}} on Pixelfed - {{$profile['note']}} - {{$profile['created_at']}} - - {{$profile['url']}} - {{$profile['url']}} - - - -@foreach($items as $item) - {{ $item['content'] ? strip_tags($item['content']) : "No caption" }} - + {{$permalink}} + {{$profile['username']}} on Pixelfed + {{$profile['note']}} + {{$items[0]['created_at']}} + + {{$profile['username']}} + {{$profile['url']}} + + + + @foreach($items as $item) + {{ $item['url'] }} + {{ $item['content_text'] ? $item['content_text'] : "No caption" }} + {{ $item['created_at'] }} - + {{$profile['username']}} + {{$profile['url']}} - - + iteration}}" src="{{ $item['media_attachments'][0]['url'] }}" alt="{{ $item['media_attachments'][0]['description'] }}">

{{ $item['content'] }}

- ]]> -
- {{ $item['created_at'] }} + ]]> + + + {{ $item['content'] }} +
-@endforeach + @endforeach