mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 22:44:06 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
72bce4036b
commit
2010864576
1 changed files with 1 additions and 1 deletions
|
|
@ -1888,7 +1888,7 @@ func fromSQLBlock(sqlBlock *sql.Block, terms string, beforeLen int) (block *Bloc
|
|||
content = maxContent(content, 5120)
|
||||
tag, _ := markSearch(sqlBlock.Tag, terms, beforeLen)
|
||||
markdown := maxContent(sqlBlock.Markdown, 5120)
|
||||
fContent := util.EscapeHTML(sqlBlock.FContent)
|
||||
fContent := util.EscapeHTML(sqlBlock.FContent) // fContent 会用于和 content 对比,在反链计算时用于判断是否是列表项下第一个子块,所以也需要转义 https://github.com/siyuan-note/siyuan/issues/11001
|
||||
block = &Block{
|
||||
Box: sqlBlock.Box,
|
||||
Path: sqlBlock.Path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue