1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/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.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
charset_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
escape.go Don't treat BOM escape sequence as hidden character. (#18909) 2022-02-26 16:48:23 +00:00
escape_test.go Don't treat BOM escape sequence as hidden character. (#18909) 2022-02-26 16:48:23 +00:00