diff --git a/src/components/common/Anchor.tsx b/src/components/common/Anchor.tsx index 4ff2baf..39fd792 100644 --- a/src/components/common/Anchor.tsx +++ b/src/components/common/Anchor.tsx @@ -23,7 +23,7 @@ export function Anchor({displayStyle, href, ...props}: AnchorProps): JSX.Element if(!displayStyle) { if(href) { // noinspection HttpUrlsUsage - if(href.startsWith("http://") || href.startsWith("https://")) { + if(href.startsWith("http://") || href.startsWith("https://") || href.startsWith("/") || !href.includes(":")) { displayStyle = "link" } else {