修复换行:去掉 whitespace-pre-wrap,改用 nl2br 输出 br 标签,模板无缩进空格

This commit is contained in:
2026-02-27 02:24:45 +08:00
parent 557aa357ed
commit 6e26558ad1

View File

@@ -222,8 +222,7 @@
{{-- 正文内容 --}}
<div class="px-5 pt-2.5 pb-2">
<p class="text-left text-gray-700 text-[15px] leading-relaxed whitespace-pre-wrap">
{!! e($msg->text_body) !!}</p>
<p class="text-left text-gray-700 text-[15px] leading-relaxed">{!! nl2br(e($msg->text_body)) !!}</p>
</div>
{{-- 回复TA按钒 --}}