From fa9c0b0ffa58d666813563e7300f3f057a74d900 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 28 Aug 2023 10:01:27 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=EF=BF=A5=EF=BF=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/wysiwyg/input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/input.ts b/app/src/protyle/wysiwyg/input.ts index da06aa8ed..b172d920f 100644 --- a/app/src/protyle/wysiwyg/input.ts +++ b/app/src/protyle/wysiwyg/input.ts @@ -85,7 +85,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range: return; } // https://github.com/siyuan-note/siyuan/issues/9015 - if (trimStartText === "¥¥") { + if (trimStartText === "¥¥" || trimStartText === "¥¥") { editElement.innerHTML = "$$"; } const refElement = hasClosestByAttribute(range.startContainer, "data-type", "block-ref");