From 557aa357eddc13dbe307fe20cf0f86c2b37f4da7 Mon Sep 17 00:00:00 2001 From: lkddi Date: Fri, 27 Feb 2026 02:22:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=20nl2br=EF=BC=8C=E7=94=B1=20whitespace-pre-wrap=20=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E6=B8=B2=E6=9F=93=E6=8D=A2=E8=A1=8C=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E6=8D=A2=E8=A1=8C=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/guestbook/index.blade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/guestbook/index.blade.php b/resources/views/guestbook/index.blade.php index ba75447..16d1244 100644 --- a/resources/views/guestbook/index.blade.php +++ b/resources/views/guestbook/index.blade.php @@ -222,7 +222,8 @@ {{-- 正文内容 --}}
-

{!! nl2br(e($msg->text_body)) !!}

+

+ {!! e($msg->text_body) !!}

{{-- 回复TA按钒 --}}