From 80dffbc5082555d6ac943c4fcf16d7c3e2746d73 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 4 Jan 2024 17:19:48 +0800 Subject: [PATCH] :art: Improve pasting in av cell --- app/src/protyle/util/insertHTML.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.ts index 187af3e5b..060412111 100644 --- a/app/src/protyle/util/insertHTML.ts +++ b/app/src/protyle/util/insertHTML.ts @@ -11,7 +11,7 @@ import {updateAVName} from "../render/av/action"; import {updateCellsValue} from "../render/av/cell"; const processAV = (range: Range, html: string, protyle: IProtyle, blockElement: Element) => { - const text = protyle.lute.BlockDOM2StdMd(html); + const text = protyle.lute.BlockDOM2EscapeMarkerContent(html); const cellsElement: HTMLElement[] = Array.from(blockElement.querySelectorAll(".av__cell--select")); const rowsElement = blockElement.querySelector(".av__row--select"); if (rowsElement) {