gitea/modules/templates
Lauris BH 81702e6ec9 Detect charset and convert non UTF-8 files for display ()
* 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
..
dynamic.go Swagger.v1.json template ()
helper.go Detect charset and convert non UTF-8 files for display ()
static.go Fix custom templates being ignored ()
templates.go Integrate templates into bindata optionally ()