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