From 8d28c4edc99c2a41084d6d733141385c79b51dad Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 27 Feb 2024 21:07:12 +0800 Subject: [PATCH] :bug: Search results preview contains escape character issue https://github.com/siyuan-note/siyuan/issues/9790 https://ld246.com/article/1709035088865 --- kernel/search/mark.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/search/mark.go b/kernel/search/mark.go index b5806ce77..d8fecb225 100644 --- a/kernel/search/mark.go +++ b/kernel/search/mark.go @@ -118,7 +118,7 @@ func EncloseHighlighting(text string, keywords []string, openMark, closeMark str } // 搜索结果预览包含转义符问题 Search results preview contains escape character issue https://github.com/siyuan-note/siyuan/issues/9790 - ret = strings.ReplaceAll(ret, "\\