0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 13:44:32 +01: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
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