1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/modules/charset
zeripath 21ed4fd8da
Add warning for BIDI characters in page renders and in diffs (#17562)
Fix #17514

Given the comments I've adjusted this somewhat. The numbers of characters detected are increased and include things like the use of U+300 to make à instead of à and non-breaking spaces.

There is a button which can be used to escape the content to show it.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Gwyneth Morgan <gwymor@tilde.club>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-01-07 02:18:52 +01:00
..
charset_test.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
charset.go Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
escape_test.go Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
escape.go Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00