mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 04:20:05 +08:00
🐛 Search results preview contains escape character issue https://github.com/siyuan-note/siyuan/issues/9790 https://ld246.com/article/1709035088865
This commit is contained in:
parent
a4c68d9f95
commit
8d28c4edc9
@ -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, "\\<span", "\\\\<span ")
|
||||
ret = strings.ReplaceAll(ret, "\\<span", "\\\\<span")
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user