From 9e2f0143e9407d4bd7b66ea3305ac57e659f5475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Thu, 25 Jul 2024 21:49:05 +0200 Subject: [PATCH] Revert "Make references to pages within the same Confluence relative" This reverts commit ecd563e0957c23573bc8b37ba398396b8144c0d0. --- pkg/mark/link.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/mark/link.go b/pkg/mark/link.go index 0c162ee..c107c64 100644 --- a/pkg/mark/link.go +++ b/pkg/mark/link.go @@ -203,9 +203,9 @@ func getConfluenceLink( } if page != nil { - // Confluence supports relative links to reference other pages: - // https://confluence.atlassian.com/doc/links-776656293.html - link = page.Links.Full + // Needs baseURL, as REST api response URL doesn't contain subpath ir + // confluence is server from that + link = api.BaseURL + page.Links.Full } return link, nil