From 0b33edd21334022faca83d66e0188a2709f2a288 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 3 Sep 2025 21:36:17 +0800 Subject: [PATCH] :bug: https://github.com/siyuan-note/siyuan/issues/15741 --- app/src/asset/renderAssets.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/asset/renderAssets.ts b/app/src/asset/renderAssets.ts index df64c598f..a49e8edc3 100644 --- a/app/src/asset/renderAssets.ts +++ b/app/src/asset/renderAssets.ts @@ -62,7 +62,7 @@ export const pdfResize = () => { export const genAssetHTML = (type: string, pathString: string, imgName: string, linkName: string) => { let html = ""; if (Constants.SIYUAN_ASSETS_AUDIO.includes(type)) { - html = `
${Constants.ZWSP}
${Constants.ZWSP}
`; + html = `
${Constants.ZWSP}
${Constants.ZWSP}
`; } else if (Constants.SIYUAN_ASSETS_IMAGE.includes(type)) { let netHTML = ""; if (!pathString.startsWith("assets/")) { @@ -70,7 +70,7 @@ export const genAssetHTML = (type: string, pathString: string, imgName: string, } html = ` ${imgName}${netHTML} `; } else if (Constants.SIYUAN_ASSETS_VIDEO.includes(type)) { - html = `
${Constants.ZWSP}
${Constants.ZWSP}
`; + html = `
${Constants.ZWSP}
${Constants.ZWSP}
`; } else { html = `${linkName}`; }