diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.ts index c84785303..6c2b39e30 100644 --- a/app/src/protyle/hint/extend.ts +++ b/app/src/protyle/hint/extend.ts @@ -295,7 +295,7 @@ export const hintTag = (key: string, protyle: IProtyle): IHintData[] => { const value = item.replace(//g, "").replace(/<\/mark>/g, ""); dataList.push({ value: `${value}`, - html: item, + html: `
${item}
`, }); if (value === response.data.k) { hasKey = true; @@ -304,7 +304,7 @@ export const hintTag = (key: string, protyle: IProtyle): IHintData[] => { if (response.data.k && !hasKey) { dataList.splice(0, 0, { value: `${response.data.k}`, - html: `${window.siyuan.languages.new} ${escapeHtml(response.data.k)}`, + html: `
${window.siyuan.languages.new} ${escapeHtml(response.data.k)}
`, }); if (dataList.length > 1) { dataList[1].focus = true;