diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.ts
index 848e4ce87..262e74263 100644
--- a/app/src/protyle/hint/extend.ts
+++ b/app/src/protyle/hint/extend.ts
@@ -373,9 +373,9 @@ export const hintRef = (key: string, protyle: IProtyle, source: THintSource): IH
});
}
response.data.blocks.forEach((item: IBlock) => {
- let value = `${item.name || item.refText}`;
+ let value = `${item.name || item.refText.replace(new RegExp(Constants.ZWSP, "g"), "")}`;
if (source === "search") {
- value = `${key}${Constants.ZWSP}${item.name || item.refText}`;
+ value = `${key}${Constants.ZWSP}${item.name || item.refText.replace(new RegExp(Constants.ZWSP, "g"), "")}`;
}
dataList.push({
value,