Skip to content

Commit 63925ce

Browse files
committed
fix
1 parent 2d2945d commit 63925ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Markdown/Myst/InlineParsers/DiagnosticLinkInlineParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private static void UpdateLinkUrl(LinkInline link, string url, ParserContext con
280280
var urlPathPrefix = context.Build.UrlPathPrefix ?? string.Empty;
281281

282282
if (!url.StartsWith('/') && !string.IsNullOrEmpty(url))
283-
url = context.CurrentUrlPath[urlPathPrefix.Length..].TrimEnd('/') + url;
283+
url = context.CurrentUrlPath[urlPathPrefix.Length..].TrimEnd('/') + '/' + url;
284284

285285
if (url.EndsWith(".md"))
286286
{

0 commit comments

Comments
 (0)