0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-26 19:46:49 +01:00
gitea/modules/markup/markdown
Jason Song d3f850cc0e
Support comma-delimited string as labels in issue template (#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-19 15:22:15 +00:00
..
math
ast.go
convertyaml.go
goldmark.go
markdown_test.go
markdown.go
meta_test.go
meta.go
renderconfig_test.go
renderconfig.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
toc.go