1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-20 18:05:41 +01:00
gitea/modules/markup
Norwin 867f46f78e Detect delimiter in CSV rendering (#7869)
* detect csv delimiter in csv rendering

fixes #7868

* make linter happy

* fix failing testcase & use ints where possible

* expose markup type to template

previously all markup had the .markdown class, which is incorrect,
as it applies markdown CSS & JS logic to CSV rendering

* fix build (missing `make css`)

* ignore quoted csv content for delimiter scoring

also fix html generation
2019-08-16 01:09:50 +03:00
..
csv Detect delimiter in CSV rendering (#7869) 2019-08-16 01:09:50 +03:00
external
markdown Check commit message hashes before making links (#7713) 2019-08-14 16:04:55 +08:00
orgmode
html_internal_test.go
html_test.go Check commit message hashes before making links (#7713) 2019-08-14 16:04:55 +08:00
html.go Check commit message hashes before making links (#7713) 2019-08-14 16:04:55 +08:00
markup_test.go
markup.go
sanitizer_test.go
sanitizer.go