0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 22:44:35 +01:00
gitea/modules/markup/markdown
guillep2k 7b97e04555 Convert EOL to UNIX-style to render MD properly (#8925)
* Convert EOL to UNIX-style to render MD properly

* Update modules/markup/markdown/markdown.go

Co-Authored-By: zeripath <art27@cantab.net>

* Fix lint optimization

* Check for empty content before conversion

* Update modules/util/util.go

Co-Authored-By: zeripath <art27@cantab.net>

* Improved checks and tests

* Add paragraph render test

* Improve speed even more, improve tests

* Small improvement by @gary-kim

* Fix test for DOS

* More improvements

* Restart CI
2019-11-13 03:27:11 +01:00
..
markdown.go Convert EOL to UNIX-style to render MD properly (#8925) 2019-11-13 03:27:11 +01:00
markdown_test.go Convert EOL to UNIX-style to render MD properly (#8925) 2019-11-13 03:27:11 +01:00