forked from gitea/gitea
1
0
Fork 0
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 Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
markdown Check commit message hashes before making links (#7713) 2019-08-14 16:04:55 +08:00
orgmode Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
html.go Check commit message hashes before making links (#7713) 2019-08-14 16:04:55 +08:00
html_internal_test.go fix hljs unintenionally highlighting commit links (#7244) 2019-06-18 18:31:31 -04:00
html_test.go Check commit message hashes before making links (#7713) 2019-08-14 16:04:55 +08:00
markup.go Fix wrong init dependency on markup extensions (#7038) 2019-05-25 18:15:39 +01:00
markup_test.go Prioritize "readme.md" (#5691) 2019-01-14 14:15:06 -05:00
sanitizer.go Restructure markup & markdown to prepare for multiple markup language… (#2411) 2017-09-16 20:17:57 +03:00
sanitizer_test.go Restructure markup & markdown to prepare for multiple markup language… (#2411) 2017-09-16 20:17:57 +03:00