🎨 Prompt for recovery method and retention days settings when deleting documents https://github.com/siyuan-note/siyuan/issues/11400

This commit is contained in:
Daniel 2024-05-17 11:06:28 +08:00
parent 9248140e13
commit 67a4613d31
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
7 changed files with 7 additions and 7 deletions

View file

@ -114,7 +114,7 @@ func EncloseHighlighting(text string, keywords []string, openMark, closeMark str
ret = text
if reg, err := regexp.Compile(re); nil == err {
ret = reg.ReplaceAllStringFunc(text, func(s string) string { return openMark + s + closeMark })
ret = reg.ReplaceAllStringFunc(text, func(s string) string { return openMark + util.EscapeHTML(s) + closeMark })
}
// 搜索结果预览包含转义符问题 Search results preview contains escape character issue https://github.com/siyuan-note/siyuan/issues/9790