Don't open new page for ext wiki on same repository (#20725)

- When the external wiki has been set to a file on the repository, don't
open the page on a tab.
- Resolves #20657
This commit is contained in:
Gusted authored and GitHub committed 2022-08-20 15:47:04 +01:00
1 parent 8cceee4084
commit 3d52edc7a4
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -453,6 +453,7 @@ func NewFuncMap() []template.FuncMap {
}
return items
},
"HasPrefix": strings.HasPrefix,
}}
}