0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 16:16:35 -05:00
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
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
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