mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-25 11:16:11 +01:00
Revert the change on Wiki ResolveMediaLink
This commit is contained in:
parent
e665b12564
commit
1c3faf8adb
|
@ -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.RawLink()
|
return l.WikiRawLink()
|
||||||
} else if l.HasBranchInfo() {
|
} else if l.HasBranchInfo() {
|
||||||
return l.MediaLink()
|
return l.MediaLink()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue