From 2ab5e5e709471cf53cddca6fb58989dcbf71a164 Mon Sep 17 00:00:00 2001 From: Jeffrey Chen <78434827+TCOTC@users.noreply.github.com> Date: Mon, 3 Feb 2025 19:25:36 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=B5=AE=E7=AA=97=E6=88=96=E5=8F=8D?= =?UTF-8?q?=E9=93=BE=E7=9A=84=E5=8A=A0=E8=BD=BD=E6=8C=89=E9=92=AE=E6=97=8B?= =?UTF-8?q?=E8=BD=AC90=E5=BA=A6=20(#14007)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/wysiwyg/renderBacklink.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/renderBacklink.ts b/app/src/protyle/wysiwyg/renderBacklink.ts index 3c5b4cae805..62c463dddf2 100644 --- a/app/src/protyle/wysiwyg/renderBacklink.ts +++ b/app/src/protyle/wysiwyg/renderBacklink.ts @@ -46,7 +46,7 @@ export const foldPassiveType = (expand: boolean, element: HTMLElement | Document Array.from(element.children).forEach((item, index) => { if ((expand && index > 2) || (!expand && index > 1)) { if ((expand && index === 3) || (!expand && index === 2)) { - item.insertAdjacentHTML("beforebegin", '
'); + item.insertAdjacentHTML("beforebegin", ''); } item.classList.add("fn__none"); }