forgejo/modules/markup
Jason Song 7a004ad7eb
Support comma-delimited string as labels in issue template (#21831) (#21873)
Backport #21831.

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 #20987 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 #17877.
2022-11-20 10:44:20 +00:00
..
common
console
csv
external Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
markdown Support comma-delimited string as labels in issue template (#21831) (#21873) 2022-11-20 10:44:20 +00:00
mdstripper Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
orgmode Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
camo.go
camo_test.go
html.go Add link to user profile in markdown mention only if user exists (#21533) 2022-10-23 01:15:52 +08:00
html_internal_test.go
html_test.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
renderer.go Add link to user profile in markdown mention only if user exists (#21533) 2022-10-23 01:15:52 +08:00
renderer_test.go
sanitizer.go Add color previews in markdown (#21474) 2022-10-21 20:00:53 +08:00
sanitizer_test.go