@inject('markdown', 'Parsedown') @php($markdown->setSafeMode(true)) @if(isset($reply) && $reply === true)
@else
  • @endif {{ $comment->commenter->name ?? $comment->guest_name }} Avatar
    {{ $comment->commenter->name ?? $comment->guest_name }} - {{ $comment->created_at->diffForHumans() }}
    {!! $markdown->line($comment->comment) !!}
    @can('reply-to-comment', $comment) @endcan @can('edit-comment', $comment) @endcan @can('delete-comment', $comment) Delete @endcan
    @can('edit-comment', $comment) @endcan @can('reply-to-comment', $comment) @endcan
    {{-- Margin bottom --}} {{-- Recursion for children --}} @if($grouped_comments->has($comment->getKey())) @foreach($grouped_comments[$comment->getKey()] as $child) @include('comments::_comment', [ 'comment' => $child, 'reply' => true, 'grouped_comments' => $grouped_comments ]) @endforeach @endif
    @if(isset($reply) && $reply === true)
  • @else @endif