🎨 搜索分组转义
This commit is contained in:
parent
71a6158f61
commit
7c48fe3a19
1 changed files with 1 additions and 1 deletions
|
@ -1347,7 +1347,7 @@ const onSearch = (data: IBlock[], edit: Protyle, element: Element) => {
|
|||
<svg class="b3-list-item__arrow b3-list-item__arrow--open"><use xlink:href="#iconRight"></use></svg>
|
||||
</span>
|
||||
${unicode2Emoji(getNotebookIcon(item.box) || Constants.SIYUAN_IMAGE_NOTE, false, "b3-list-item__graphic", true)}
|
||||
<span class="b3-list-item__text" title="${title}">${title}</span>
|
||||
<span class="b3-list-item__text" title="${escapeAttr(title)}">${escapeGreat(title)}</span>
|
||||
</div><div>`;
|
||||
item.children.forEach((childItem, childIndex) => {
|
||||
resultHTML += `<div style="padding-left: 22px" data-type="search-item" class="b3-list-item${childIndex === 0 && index === 0 ? " b3-list-item--focus" : ""}" data-node-id="${childItem.id}" data-root-id="${childItem.rootID}">
|
||||
|
|
Loading…
Add table
Reference in a new issue