修复:移除 nl2br,由 whitespace-pre-wrap 直接渲染换行,避免换行丢失
This commit is contained in:
@@ -222,7 +222,8 @@
|
|||||||
|
|
||||||
{{-- 正文内容 --}}
|
{{-- 正文内容 --}}
|
||||||
<div class="px-5 pt-2.5 pb-2">
|
<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>
|
</div>
|
||||||
|
|
||||||
{{-- 回复TA按钒 --}}
|
{{-- 回复TA按钒 --}}
|
||||||
|
|||||||
Reference in New Issue
Block a user