1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/modules/markup
Jason Song 7a004ad7eb
Support comma-delimited string as labels in issue template () ()
Backport .

The [labels in issue YAML templates](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms#top-level-syntax)
can be a string array or a comma-delimited string, so a single string
should be valid labels.

The old codes committed in  ignore this, that's why the warning is
displayed:

<img width="618" alt="image" src="https://user-images.githubusercontent.com/9418365/202112642-93dc72d0-71c3-40a2-9720-30fc2d48c97c.png">

Fixes .
2022-11-20 10:44:20 +00:00
..
common
console
csv
external Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
markdown Support comma-delimited string as labels in issue template () () 2022-11-20 10:44:20 +00:00
mdstripper
orgmode Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2022-10-24 20:29:17 +01:00
camo_test.go
camo.go
html_internal_test.go
html_test.go
html.go
renderer_test.go
renderer.go
sanitizer_test.go
sanitizer.go