Skip to content

Commit

Permalink
preserve newline + sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
cholladay0816 committed Sep 6, 2023
1 parent bbe83b4 commit 95ba43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/livewire/commission/history.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</div>
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
<div>
<p class="text-sm text-gray-500">{{$event->message}}</p>
<p class="text-sm text-gray-500">{!! nl2br(e($event->message)) !!}</p>
</div>
<div class="text-right text-sm whitespace-nowrap text-gray-500">
<time datetime="{{$event->created_at}}">{{(new \Illuminate\Support\Carbon($event->created_at))->timezone('America/Chicago')->format("M d [h:i A]")}}</time>
Expand Down

0 comments on commit 95ba43a

Please sign in to comment.