mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 01:44:24 +01:00
Fix Wiki media link to call RawLink func
This commit is contained in:
parent
e813efdf37
commit
e665b12564
|
@ -121,7 +121,7 @@ func (l *Links) WikiRawLink() string {
|
||||||
|
|
||||||
func (l *Links) ResolveMediaLink(isWiki bool) string {
|
func (l *Links) ResolveMediaLink(isWiki bool) string {
|
||||||
if isWiki {
|
if isWiki {
|
||||||
return l.WikiRawLink()
|
return l.RawLink()
|
||||||
} else if l.HasBranchInfo() {
|
} else if l.HasBranchInfo() {
|
||||||
return l.MediaLink()
|
return l.MediaLink()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue