mirror of
1
Fork 0
forgejo/modules/markup/markdown
John Olheiser b2bda11595
Fix markdown meta parsing (#12817)
* Fix meta parsing and add minimal test

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add license

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Require first separator and add more tests

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Make fmt

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Go lets this work gracefully 🙏

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-12 21:48:47 -04:00
..
ast.go Make TaskCheckBox render correctly (#11214) 2020-04-26 02:09:08 -03:00
goldmark.go Allow different HardBreaks settings for documents and comments (#11515) 2020-05-24 09:14:26 +01:00
markdown.go Add loading spinners and mermaid error handling (#12358) 2020-08-04 20:56:37 +01:00
markdown_test.go Prevent 500 with badly formed task list (#11328) 2020-05-11 00:14:49 +01:00
meta.go Fix markdown meta parsing (#12817) 2020-09-12 21:48:47 -04:00
meta_test.go Fix markdown meta parsing (#12817) 2020-09-12 21:48:47 -04:00
renderconfig.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 2020-04-24 14:22:36 +01:00
toc.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 2020-04-24 14:22:36 +01:00