Browse Source
Detect delimiter in CSV rendering (#7869)
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 generationrelease/v1.10
committed by
Lauris BH
6 changed files with 76 additions and 9 deletions
-
61modules/markup/csv/csv.go
-
11modules/markup/csv/csv_test.go
-
1public/css/index.css
-
4public/less/_repository.less
-
6routers/repo/view.go
-
2templates/repo/view_file.tmpl
Write
Preview
Loading…
Cancel
Save
Reference in new issue