修复:移除 nl2br,由 whitespace-pre-wrap 直接渲染换行,避免换行丢失

This commit is contained in:
2026-02-27 02:22:29 +08:00
parent b42b89ab72
commit 557aa357ed

View File

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