fix: 修复 WYSIWYG 清空内容 + 分屏工具栏 + XSS 防御(bulemondy消毒)
This commit is contained in:
@ -17,10 +17,10 @@
|
||||
</header>
|
||||
|
||||
<div class="post-detail-body">
|
||||
{{.Post.BodyHTML}}
|
||||
{{.PostBodyHTML}}
|
||||
{{/* 如果 BodyHTML 为空,直接显示原文 */}}
|
||||
</div>
|
||||
{{if not .Post.BodyHTML}}
|
||||
{{if not .PostBodyHTML}}
|
||||
<div class="post-detail-body-raw">{{.Post.Body}}</div>
|
||||
{{end}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user