From 62cc60c93436638c34359c16436cc41c8f6a760c Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 28 Mar 2024 16:36:37 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E8=AF=B4=E6=98=AF=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E5=BC=84=20https://github.com/siyuan-note/siyuan/issues/10753?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/breadcrumb/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts index 8ecc8e543..6fa4a0348 100644 --- a/app/src/protyle/breadcrumb/index.ts +++ b/app/src/protyle/breadcrumb/index.ts @@ -31,7 +31,6 @@ import {emitOpenMenu} from "../../plugin/EventBus"; import {isInAndroid, isIPad, isMac, updateHotkeyTip} from "../util/compatibility"; import {resize} from "../util/resize"; import {listIndent, listOutdent} from "../wysiwyg/list"; -import {escapeAttr, escapeHtml} from "../../util/escape"; export class Breadcrumb { public element: HTMLElement; @@ -244,7 +243,7 @@ ${padHTML} menu.addItem({ current: isCurrent, icon: getIconByType(item.type, item.subType), - label: escapeHtml(item.name), + label: item.name, click() { zoomOut({protyle, id: item.id, focusId: id}); } @@ -619,7 +618,7 @@ ${padHTML} } else { html += ` - ${escapeHtml(item.name)} + ${item.name} `; } if (index !== response.data.length - 1) {