diff options
author | 6543 <6543@obermui.de> | 2022-09-19 14:02:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 20:02:29 +0800 |
commit | c5e88fb03d01b929cfcf17c0a817d75572d44023 (patch) | |
tree | cab1d3ef10068716a833e6f36f830a34350155df /modules | |
parent | c87e6a89da05bcf57cc0b60359915efd008f744f (diff) | |
download | gitea-c5e88fb03d01b929cfcf17c0a817d75572d44023.tar.gz gitea-c5e88fb03d01b929cfcf17c0a817d75572d44023.zip |
[API] teamSearch show teams with no members if user is admin (#21204)
close #21176
Diffstat (limited to 'modules')
-rw-r--r-- | modules/markup/markdown/meta.go | 1 | ||||
-rw-r--r-- | modules/markup/markdown/renderconfig.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/markup/markdown/meta.go b/modules/markup/markdown/meta.go index 28913fd684..b08121e868 100644 --- a/modules/markup/markdown/meta.go +++ b/modules/markup/markdown/meta.go @@ -11,6 +11,7 @@ import ( "unicode/utf8" "code.gitea.io/gitea/modules/log" + "gopkg.in/yaml.v3" ) diff --git a/modules/markup/markdown/renderconfig.go b/modules/markup/markdown/renderconfig.go index 6a3b3a1bde..003579115f 100644 --- a/modules/markup/markdown/renderconfig.go +++ b/modules/markup/markdown/renderconfig.go @@ -8,6 +8,7 @@ import ( "strings" "code.gitea.io/gitea/modules/log" + "github.com/yuin/goldmark/ast" "gopkg.in/yaml.v3" ) |