diff options
| -rw-r--r-- | resources/views/cinema_show.blade.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <li> <a class="card-links" href="https://news.ycombinator.com/item?id={{ $story->story_id }}" target="_blank"> @if ($story->type === 'comment' && ! empty($story->text)) - <span class="hn-comment">Comment: {{ strip_tags($story->text) }}</span> + <span class="hn-comment">Comment: {{ Str::limit(strip_tags($story->text), 80) }}</span> @else {{ $story->title ?: 'HN Story' }} @endif |
