修复换行:去掉 whitespace-pre-wrap,改用 nl2br 输出 br 标签,模板无缩进空格
This commit is contained in:
@@ -222,8 +222,7 @@
|
|||||||
|
|
||||||
{{-- 正文内容 --}}
|
{{-- 正文内容 --}}
|
||||||
<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">
|
<p class="text-left text-gray-700 text-[15px] leading-relaxed">{!! nl2br(e($msg->text_body)) !!}</p>
|
||||||
{!! e($msg->text_body) !!}</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{-- 回复TA按钒 --}}
|
{{-- 回复TA按钒 --}}
|
||||||
|
|||||||
Reference in New Issue
Block a user