Skip to content

Commit

Permalink
Define all BiDi characters in uppercase hex
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Sep 27, 2024
1 parent b00c498 commit dc44058
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}',
];

Expand Down

0 comments on commit dc44058

Please sign in to comment.