1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-10 11:25:56 -05:00
forgejo/modules/issue/template
Jason Song 7a8e34b255
Deal with markdown template without metadata (#21639) (#21654)
Backport #21639 .

Fixed #21636.

Related to #20987.

A markdown template without metadata should not be treated as an invalid
template.

And this PR fixed another bug that non-template files(neither .md nor
.yaml) are treated as yaml files.

<img width="504" alt="image"

src="https://user-images.githubusercontent.com/9418365/198968668-40082fa1-4f25-4d3e-9b73-1dbf6d1a7521.png">
2022-11-01 23:41:31 +08:00
..
template.go Add generic set type (#21408) 2022-10-12 13:18:26 +08:00
template_test.go Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
unmarshal.go Deal with markdown template without metadata (#21639) (#21654) 2022-11-01 23:41:31 +08:00