From 1c3faf8adbeddb9ade7d5b44562cd7fe52da3bca Mon Sep 17 00:00:00 2001 From: Nirmal Kumar R Date: Tue, 5 Nov 2024 01:35:09 +0000 Subject: [PATCH] Revert the change on Wiki ResolveMediaLink --- 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 eca6232fea..2137302f43 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.RawLink() + return l.WikiRawLink() } else if l.HasBranchInfo() { return l.MediaLink() }