1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 18:44:27 +00:00
gitea/modules/templates
zeripath 21fb791747 Detect encoding and BOM in content (#6727) (#6765)
Detect and remove a decoded BOM when showing content.
Restore the previous encoding and BOM when updating content.
On error keep as UTF-8 encoding.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2019-04-27 19:36:12 -04:00
..
dynamic.go Create Progressive Web App (#4730) 2018-11-27 10:18:26 -05:00
helper.go Detect encoding and BOM in content (#6727) (#6765) 2019-04-27 19:36:12 -04:00
static.go Create Progressive Web App (#4730) 2018-11-27 10:18:26 -05:00
templates.go Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00