diff --git a/app/src/protyle/wysiwyg/input.ts b/app/src/protyle/wysiwyg/input.ts index cf2534db8..44a98f4e8 100644 --- a/app/src/protyle/wysiwyg/input.ts +++ b/app/src/protyle/wysiwyg/input.ts @@ -84,7 +84,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range: brElement.remove(); } - if (editElement.innerHTML === "》" || editElement.innerHTML.indexOf("\n》") > -1) { + if (editElement.innerHTML.startsWith("》") || editElement.innerHTML.indexOf("\n》") > -1) { editElement.innerHTML = editElement.innerHTML.replace("》", ">"); } const trimStartText = editElement.innerHTML.trimStart();