diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.ts
index c0d5088ef..e74265d47 100644
--- a/app/src/layout/dock/Files.ts
+++ b/app/src/layout/dock/Files.ts
@@ -1062,7 +1062,7 @@ data-type="navigation-root" data-path="/">
if (!fileItemElement) {
return;
}
- fileItemElement.setAttribute("data-name", Lute.EscapeHTMLStr(data.title));
+ fileItemElement.setAttribute("data-name", data.title);
fileItemElement.querySelector(".b3-list-item__text").innerHTML = escapeHtml(data.title);
}
diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.ts
index 807a7aaa8..bcd62b07c 100644
--- a/app/src/mobile/dock/MobileFiles.ts
+++ b/app/src/mobile/dock/MobileFiles.ts
@@ -527,7 +527,7 @@ export class MobileFiles extends Model {
if (!fileItemElement) {
return;
}
- fileItemElement.setAttribute("data-name", Lute.EscapeHTMLStr(data.title));
+ fileItemElement.setAttribute("data-name", data.title);
fileItemElement.querySelector(".b3-list-item__text").innerHTML = escapeHtml(data.title);
}
diff --git a/app/src/util/pathName.ts b/app/src/util/pathName.ts
index 8a33c5482..b1d82fe57 100644
--- a/app/src/util/pathName.ts
+++ b/app/src/util/pathName.ts
@@ -648,7 +648,7 @@ const getLeaf = (liElement: HTMLElement, flashcard: boolean) => {
${unicode2Emoji(item.icon || (item.subFileCount === 0 ? window.siyuan.storage[Constants.LOCAL_IMAGES].file : window.siyuan.storage[Constants.LOCAL_IMAGES].folder), "b3-list-item__graphic", true)}
- " + window.siyuan.languages.bookmark + " " + item.bookmark : ""}${item.name1 ? "
" + window.siyuan.languages.name + " " + item.name1 : ""}${item.alias ? "
" + window.siyuan.languages.alias + " " + item.alias : ""}${item.memo ? "
" + window.siyuan.languages.memo + " " + item.memo : ""}${item.subFileCount !== 0 ? window.siyuan.languages.includeSubFile.replace("x", item.subFileCount) : ""}
${window.siyuan.languages.modifiedAt} ${item.hMtime}
${window.siyuan.languages.createdAt} ${item.hCtime}">${getDisplayName(item.name, true, true)}
+ " + window.siyuan.languages.bookmark + " " + item.bookmark : ""}${item.name1 ? "
" + window.siyuan.languages.name + " " + item.name1 : ""}${item.alias ? "
" + window.siyuan.languages.alias + " " + item.alias : ""}${item.memo ? "
" + window.siyuan.languages.memo + " " + item.memo : ""}${item.subFileCount !== 0 ? window.siyuan.languages.includeSubFile.replace("x", item.subFileCount) : ""}
${window.siyuan.languages.modifiedAt} ${item.hMtime}
${window.siyuan.languages.createdAt} ${item.hCtime}">${getDisplayName(Lute.EscapeHTMLStr(item.name), true, true)}
${countHTML}
`;
});