1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules/templates
Lauris BH 81702e6ec9 Detect charset and convert non UTF-8 files for display (#4950)
* Detect charset and convert non UTF-8 files for display

* Refactor and move function to correct module

* Revert unrelated changes

* More unrelated changes

* Duplicate content for small text to have better encoding detection

* Check if original content is valid before duplicating it
2018-09-29 16:33:54 +08:00
..
dynamic.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
helper.go Detect charset and convert non UTF-8 files for display (#4950) 2018-09-29 16:33:54 +08:00
static.go Fix custom templates being ignored (#4638) 2018-08-08 14:15:48 +03:00
templates.go