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
charset_test.go
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