0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 15:14:13 +01:00
gitea/templates/repo
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
..
branch
diff Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
editor Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
graph
issue Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
migrate
projects
pulls
release
settings Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
wiki Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
activity.tmpl Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
blame.tmpl Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
branch_dropdown.tmpl
clone_buttons.tmpl
commit_page.tmpl
commit_status.tmpl
commit_statuses.tmpl
commits_list_small.tmpl
commits_list.tmpl
commits_table.tmpl
commits.tmpl
create.tmpl Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
empty.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl
icon.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
unicode_escape_prompt.tmpl Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
upload.tmpl
user_cards.tmpl
view_file.tmpl Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
view_list.tmpl
watchers.tmpl