Commit Graph

3 Commits (66b8a43e5f9bd82f0daa3e7cbcab859457c8064f)

Author SHA1 Message Date
Gusted 4fb718d405
Don't treat BOM escape sequence as hidden character. () ()
* Don't treat BOM escape sequence as hidden character. ()

Backport 
zeripath fa9be55018
Fix panic in EscapeReader () ()
Backport 

There is a potential panic due to a mistaken resetting of the length parameter when
multibyte characters go over a read boundary.

Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath 21ed4fd8da
Add warning for BIDI characters in page renders and in diffs ()
Fix 

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>