You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services/gitdiff
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>
3 years ago
..
testdata/academic-module Fix panic when diff (#9187) 5 years ago
csv.go Simplify parameter types (#18006) 3 years ago
csv_test.go Enable show more files in diff for git <2.31 (#17733) 3 years ago
gitdiff.go Add warning for BIDI characters in page renders and in diffs (#17562) 3 years ago
gitdiff_test.go Add warning for BIDI characters in page renders and in diffs (#17562) 3 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago