From e665b125644aa90526c148849e78235b4b3eca96 Mon Sep 17 00:00:00 2001 From: Nirmal Kumar R Date: Tue, 5 Nov 2024 01:17:49 +0000 Subject: [PATCH] Fix Wiki media link to call RawLink func --- modules/markup/renderer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/markup/renderer.go b/modules/markup/renderer.go index 2137302f43..eca6232fea 100644 --- a/modules/markup/renderer.go +++ b/modules/markup/renderer.go @@ -121,7 +121,7 @@ func (l *Links) WikiRawLink() string { func (l *Links) ResolveMediaLink(isWiki bool) string { if isWiki { - return l.WikiRawLink() + return l.RawLink() } else if l.HasBranchInfo() { return l.MediaLink() }