This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/modules/markup/markdown
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
..
math Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
ast.go Add color previews in markdown (#21474) 2022-10-21 20:00:53 +08:00
convertyaml.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
goldmark.go Add color previews in markdown (#21474) 2022-10-21 20:00:53 +08:00
markdown.go Upgrade chroma to v2.3.0 (#21259) 2022-09-26 13:50:03 +08:00
markdown_test.go Add link to user profile in markdown mention only if user exists (#21533) 2022-10-23 01:15:52 +08:00
meta.go Remove unnecessary debug log (#21536) 2022-10-22 15:25:34 +08:00
meta_test.go Support comma-delimited string as labels in issue template (#21831) (#21873) 2022-11-20 10:44:20 +00:00
renderconfig.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
renderconfig_test.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
toc.go Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00