Skip to content

Commit

Permalink
Define all BiDi characters in uppercase hex
Browse files Browse the repository at this point in the history
faern committed Oct 3, 2024
1 parent 522a64e commit fd705da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rules.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// List of bidirectional formatting characters from <https://en.wikipedia.org/wiki/Trojan_Source>
const BIDI_CHARACTERS: &[char] = &[
'\u{202A}', '\u{202b}', '\u{202c}', '\u{202d}', '\u{202e}', '\u{2066}', '\u{2067}', '\u{2068}',
pub const BIDI_CHARACTERS: &[char] = &[
'\u{202A}', '\u{202B}', '\u{202C}', '\u{202D}', '\u{202E}', '\u{2066}', '\u{2067}', '\u{2068}',
'\u{2069}',
];

0 comments on commit fd705da

Please sign in to comment.