diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts
index e949738ca..37c9abb89 100644
--- a/app/src/block/popover.ts
+++ b/app/src/block/popover.ts
@@ -48,7 +48,7 @@ export const initBlockPopover = (app: App) => {
}
}
} else if (aElement.classList.contains("av__celltext--url")) {
- tip = tip ? `${tip.substring(0, Constants.SIZE_TITLE)}
${aElement.getAttribute("data-name")}` : aElement.getAttribute("data-name");
+ tip = tip ? `${tip.substring(0, Constants.SIZE_TITLE)}
${aElement.getAttribute("data-name")}` : aElement.getAttribute("data-name");
} else if (aElement.classList.contains("av__calc--ashow") && aElement.clientWidth + 2 < aElement.scrollWidth) {
tip = aElement.lastChild.textContent + " " + aElement.firstElementChild.textContent;
}
@@ -71,16 +71,16 @@ export const initBlockPopover = (app: App) => {
fetchPost("/api/asset/statAsset", {path: href}, (response) => {
if (response.code === 1) {
if (title) {
- assetTip += "
" + title;
+ assetTip += '' + title;
}
} else {
- assetTip += ` ${response.data.hSize}${title ? "
" + title : ""}
${window.siyuan.languages.modifiedAt} ${response.data.hUpdated}
${window.siyuan.languages.createdAt} ${response.data.hCreated}`;
+ assetTip += ` ${response.data.hSize}${title ? '' + title : ""}
${window.siyuan.languages.modifiedAt} ${response.data.hUpdated}
${window.siyuan.languages.createdAt} ${response.data.hCreated}`;
}
showTooltip(assetTip, aElement);
});
tip = "";
} else if (title) {
- tip += "
" + title;
+ tip += '' + title;
}
}
if (tip && !aElement.classList.contains("b3-tooltips")) {