From 3247c43564a61ffe98f3a94a67be262c16fb89dc Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 10 Apr 2026 16:57:40 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/17343 --- app/src/protyle/wysiwyg/turnIntoList.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/turnIntoList.ts b/app/src/protyle/wysiwyg/turnIntoList.ts index 0994f6716..295bce074 100644 --- a/app/src/protyle/wysiwyg/turnIntoList.ts +++ b/app/src/protyle/wysiwyg/turnIntoList.ts @@ -3,7 +3,7 @@ import {focusByWbr} from "../util/selection"; import * as dayjs from "dayjs"; export const turnIntoTaskList = (protyle: IProtyle, type: string, blockElement: HTMLElement, editElement: HTMLElement, range: Range) => { - const dataTask = editElement.innerHTML.substring(0, 3).match(/^[\[【]([^\[\]【】])[\]】]$/); + const dataTask = editElement.innerHTML.substring(0, 3).match(/^[\[【]([^\x80-\uffff\[\]【】\"])[\]】]$/); if (type !== "NodeCodeBlock" && // 任务列表首块不需要再更新为任务列表 !blockElement.previousElementSibling?.classList.contains("protyle-action--task") &&