forgejo/modules/markup
KN4CK3R 0c6137617f
Add Tabular Diff for CSV files (#14661)
Implements request #14320 The rendering of CSV files does match the diff style.

* Moved CSV logic into base package.

* Added method to create a tabular diff.

* Added CSV compare context.

* Added CSV diff template.

* Use new table style in CSV markup.

* Added file size limit for CSV rendering.

* Display CSV parser errors in diff.

* Lazy read single file.

* Lazy read rows for full diff.

* Added unit tests for various CSV changes.
2021-03-29 22:44:28 +02:00
..
common Don't replace underscores in auto-generated IDs in goldmark (#12805) 2020-09-12 12:00:48 -04:00
csv Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
external
markdown Remove extraneous logging (#15020) 2021-03-18 04:25:52 +01:00
mdstripper
orgmode fix: media links in org files not liked to media files (#12997) 2020-10-01 11:22:34 -04:00
html.go Clusterfuzz found another way (#15160) 2021-03-26 01:21:00 +02:00
html_internal_test.go
html_test.go Prevent panic on fuzzer provided string (#14405) 2021-01-20 23:10:50 +08:00
markup.go
markup_test.go
sanitizer.go Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
sanitizer_test.go Markdown task list improvements (#13952) 2020-12-13 09:05:50 +08:00