diff --git a/scm-ui/ui-components/src/MarkdownLinkRenderer.tsx b/scm-ui/ui-components/src/MarkdownLinkRenderer.tsx index 1c4c26020d..2e512fde51 100644 --- a/scm-ui/ui-components/src/MarkdownLinkRenderer.tsx +++ b/scm-ui/ui-components/src/MarkdownLinkRenderer.tsx @@ -74,7 +74,7 @@ export function correctLocalLink(pathname: string, link: string) { return base + path; } function MarkdownLinkRenderer(props: Props) { - const compositeUrl = withContextPath(correctLocalLink(props.location.pathname, props.href)); + const compositeUrl = correctLocalLink(withContextPath(props.location.pathname), props.href); return {props.children}; }