Skip to content

Commit

Permalink
Added prewrap to comments to keep line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
katsulon committed Dec 18, 2024
1 parent 8d50376 commit 346c1ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h5 class="card-header">{{ $comment->user->name }}</h5>
<div class="card-body">
<h5 class="card-title">{{ $comment->created_at }} (UTC)</h5>
<p class="card-text">{{ $comment->comment }}</p>
<p class="card-text" style="white-space: pre-wrap">{{ $comment->comment }}</p>

@auth
@if ($comment->user_id == Auth::id())
Expand Down

0 comments on commit 346c1ba

Please sign in to comment.