diff --git a/src/ts/components/ExternalLink/components/PR.tsx b/src/ts/components/ExternalLink/components/PR.tsx index 7c1ab90..3f66c94 100644 --- a/src/ts/components/ExternalLink/components/PR.tsx +++ b/src/ts/components/ExternalLink/components/PR.tsx @@ -13,11 +13,14 @@ function PRLink({ prId, text, className }: IPRLinkProps) { if (!prId) return null; const prefix = userSettings?.settings?.linksPrefix?.task || '/'; + const formattedTask = prId?.[0] === '#' + ? prId.replace('#', '') + : prId; return ( );