forked from gitea/gitea
1
0
Fork 0
gitea/modules/markup
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
..
common Don't replace underscores in auto-generated IDs in goldmark (#12805) 2020-09-12 12:00:48 -04:00
csv Detect delimiter in CSV rendering (#7869) 2019-08-16 01:09:50 +03:00
external Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
markdown Fix markdown meta parsing (#12817) 2020-09-12 21:48:47 -04:00
mdstripper Detect full references to issues and pulls in commit messages (#12399) 2020-08-06 20:20:05 +01:00
orgmode Update to go-org 1.3.2 (#12728) 2020-09-05 11:45:10 -04:00
html.go Fix emoji replacements, make emoji images consistent (#12567) 2020-08-23 21:44:53 -04:00
html_internal_test.go Issue/PR Context Popups (#9822) 2020-01-19 23:39:21 -05:00
html_test.go Fix emoji replacements, make emoji images consistent (#12567) 2020-08-23 21:44:53 -04:00
markup.go Don't manually replace whitespace during render (#10291) 2020-02-17 07:46:51 +02:00
markup_test.go Prioritize "readme.md" (#5691) 2019-01-14 14:15:06 -05:00
sanitizer.go Add loading spinners and mermaid error handling (#12358) 2020-08-04 20:56:37 +01:00
sanitizer_test.go Restore checkbox rendering and prevent poor sanitization of spans (#11277) 2020-05-03 17:17:24 -03:00