mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
perf:过滤内容中的非法字符,增强安全性
This commit is contained in:
@@ -594,7 +594,7 @@ func (book *Book) ReleaseContent(bookId int) {
|
||||
}
|
||||
for _, item := range docs {
|
||||
item.BookId = bookId
|
||||
item.ReleaseContent()
|
||||
_ = item.ReleaseContent()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user