diff --git a/frontend/src/components/workspace/citations/citation-link.tsx b/frontend/src/components/workspace/citations/citation-link.tsx index 72894e2..6aab8c2 100644 --- a/frontend/src/components/workspace/citations/citation-link.tsx +++ b/frontend/src/components/workspace/citations/citation-link.tsx @@ -17,7 +17,10 @@ export function CitationLink({ const domain = extractDomain(href ?? ""); // Priority: children > domain - const childrenText = typeof children === "string" ? children : null; + const childrenText = + typeof children === "string" + ? children.replace(/^citation:\s*/i, "") + : null; const isGenericText = childrenText === "Source" || childrenText === "来源"; const displayText = (!isGenericText && childrenText) ?? domain;