diff --git a/src/renderer/src/components/editor/rich-markdown-literal-serialization.ts b/src/renderer/src/components/editor/rich-markdown-literal-serialization.ts index 61562f3c2cb..5748be5629b 100644 --- a/src/renderer/src/components/editor/rich-markdown-literal-serialization.ts +++ b/src/renderer/src/components/editor/rich-markdown-literal-serialization.ts @@ -260,9 +260,11 @@ export function preserveLiteralMarkdownSource( if (isPlainEscapedBlock && !info.inTableCell) { result = result.replace(/\\\$(?=\d)/g, '$') } - result = info.inTableCell - ? result.replace(/(?