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