From 95ba43a9ee0821594219cd70f542100f4d56da77 Mon Sep 17 00:00:00 2001 From: Christian Holladay Date: Tue, 5 Sep 2023 21:59:32 -0500 Subject: [PATCH] preserve newline + sanitize --- resources/views/livewire/commission/history.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/livewire/commission/history.blade.php b/resources/views/livewire/commission/history.blade.php index fc3478ee..eb78048e 100644 --- a/resources/views/livewire/commission/history.blade.php +++ b/resources/views/livewire/commission/history.blade.php @@ -41,7 +41,7 @@
-

{{$event->message}}

+

{!! nl2br(e($event->message)) !!}