Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:rotating_light:

Vanessa3404395cfac3
diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.ts
index 67413197b6..d9833fbdb6 100644
--- a/app/src/protyle/hint/extend.ts
+++ b/app/src/protyle/hint/extend.ts
@@ -415,7 +415,7 @@ export const genHintItemHTML = (item: IBlock) => {
if (attrHTML) {
attrHTML = `<div class="fn__flex b3-list-item__meta b3-list-item__showall">${attrHTML}</div>`;
}
- let countHTML = '';
+ let countHTML = "";
if (item.refCount) {
countHTML = `<span class="popover__block counter b3-tooltips b3-tooltips__w" aria-label="${window.siyuan.languages.ref}">${item.refCount}</span>`;
}
diff --git a/app/src/search/util.ts b/app/src/search/util.ts
index 7d44e539eb..3fa58a10eb 100644
--- a/app/src/search/util.ts
+++ b/app/src/search/util.ts
@@ -1324,7 +1324,7 @@ const onSearch = (data: IBlock[], edit: Protyle, element: Element, config: Confi
let newData;
data.forEach((item) => {
const title = getNotebookName(item.box) + getDisplayName(item.hPath, false);
- let countHTML = '';
+ let countHTML = "";
if (item.children) {
resultHTML += `<div class="b3-list-item">
<span class="b3-list-item__toggle b3-list-item__toggle--hl">