From 1a6b80b5af75cea66c79027625fcc5ac74deb719 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 14 Aug 2025 12:03:48 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12384 --- app/src/protyle/render/av/blockAttr.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index 846f4ace8..d2c324747 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -132,8 +132,7 @@ export const genAVValueHTML = (value: IAVCellValue) => { if (item?.isDetached) { html += `${Lute.EscapeHTMLStr(item.block.content || window.siyuan.languages.untitled)}`; } else { - // data-block-id 用于更新 emoji - html += `${unicode2Emoji(item.block.icon || window.siyuan.storage[Constants.LOCAL_IMAGES].file)}${Lute.EscapeHTMLStr(item.block.content || window.siyuan.languages.untitled)}`; + html += `${unicode2Emoji(item.block.icon || window.siyuan.storage[Constants.LOCAL_IMAGES].file)} ${Lute.EscapeHTMLStr(item.block.content || window.siyuan.languages.untitled)}`; } } }); @@ -145,7 +144,7 @@ export const genAVValueHTML = (value: IAVCellValue) => { value?.rollup?.contents?.forEach((item) => { const rollupText = ["template", "select", "mSelect", "mAsset", "checkbox", "relation"].includes(item.type) ? genAVValueHTML(item) : genAVRollupHTML(item); if (rollupText) { - html += rollupText + ", "; + html += rollupText.replace("fn__flex-1", "") + ", "; } }); if (html && html.endsWith(", ")) {