From 6733c0b6d377ee2164e7a3ff6e8791859bff86d4 Mon Sep 17 00:00:00 2001 From: Developer Date: Sat, 27 Jun 2026 04:24:15 +0200 Subject: fix: truncate HN comment text to 80 chars with ellipsis --- resources/views/cinema_show.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources') diff --git a/resources/views/cinema_show.blade.php b/resources/views/cinema_show.blade.php index 175d51b..f9e613f 100644 --- a/resources/views/cinema_show.blade.php +++ b/resources/views/cinema_show.blade.php @@ -146,7 +146,7 @@
  • @if ($story->type === 'comment' && ! empty($story->text)) - Comment: {{ strip_tags($story->text) }} + Comment: {{ Str::limit(strip_tags($story->text), 80) }} @else {{ $story->title ?: 'HN Story' }} @endif -- cgit v1.2.3