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() }