This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/templates/repo/editor
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
..
commit_form.tmpl Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
delete.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
diff_preview.tmpl Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
edit.tmpl Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
upload.tmpl Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00