This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/modules/templates
Lauris BH 33c3cbc968 Detect charset and convert non UTF-8 files for display (#4950) (#4994)
* 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-30 09:02:16 +08:00
..
dynamic.go Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00
helper.go Detect charset and convert non UTF-8 files for display (#4950) (#4994) 2018-09-30 09:02:16 +08:00
static.go Fixed custom templates for static builds (#1087) 2017-03-01 09:45:21 +08:00
templates.go Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00