1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-30 05:25:36 +03:00
gitea/modules/templates
zeripath f6eedd4dc8 UI: Detect and restore encoding and BOM in content (#6727)
* detect and remove a decoded BOM

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Restore the previous encoding and BOM

* On error keep as UTF-8

Signed-off-by: Andrew Thornton <art27@cantab.net>

* create remove BOM function

* Deal with LFSed content

* Update modules/repofiles/update.go

* Fix final LFS bug

* Keep LFS sections referring to opts.Content
2019-04-26 15:00:30 +03:00
..
dynamic.go Create Progressive Web App (#4730) 2018-11-27 10:18:26 -05:00
helper.go UI: Detect and restore encoding and BOM in content (#6727) 2019-04-26 15:00:30 +03: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