diff --git a/app/src/protyle/util/processCode.ts b/app/src/protyle/util/processCode.ts
index 9590065bb..6ee9134f9 100644
--- a/app/src/protyle/util/processCode.ts
+++ b/app/src/protyle/util/processCode.ts
@@ -32,16 +32,8 @@ export const processPasteCode = (html: string, text: string) => {
if (isCode) {
let code = text || html;
if (/\n/.test(code)) {
- return `
-
- ${window.siyuan.storage[Constants.LOCAL_CODELANG]}
-
-
-
-
-
${code.replace(/&/g, "&").replace(/
-
${Constants.ZWSP}
-
`;
+ // 不要格式化为多行代码块,否则 Lute 解析会出错 https://github.com/siyuan-note/siyuan/issues/8934
+ return `${window.siyuan.storage[Constants.LOCAL_CODELANG]}
${code.replace(/&/g, "&").replace(/
${Constants.ZWSP}
`;
} else {
// Paste code from IDE no longer escape `<` and `>` https://github.com/siyuan-note/siyuan/issues/8340
code = code.replace("<", "<").replace(">", ">");