1
1
mirror of https://github.com/go-gitea/gitea synced 2024-10-31 23:34:25 +00:00
gitea/modules/charset
Gusted bf2867dec2
Don't treat BOM escape sequence as hidden character. (#18909)
* Don't treat BOM escape sequence as hidden character.

- BOM sequence is a common non-harmfull escape sequence, it shouldn't be
shown as hidden character.
- Follows GitHub's behavior.
- Resolves #18837

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-02-26 16:48:23 +00:00
..
charset_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
charset.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
escape_test.go Don't treat BOM escape sequence as hidden character. (#18909) 2022-02-26 16:48:23 +00:00
escape.go Don't treat BOM escape sequence as hidden character. (#18909) 2022-02-26 16:48:23 +00:00