From dc440580eedf4a5caf1f67d0b5cda6d07539f4b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Fri, 27 Sep 2024 16:43:05 +0200 Subject: [PATCH] Define all BiDi characters in uppercase hex --- src/rules.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rules.rs b/src/rules.rs index 67b0b72..a6ebee7 100644 --- a/src/rules.rs +++ b/src/rules.rs @@ -1,6 +1,6 @@ /// List of bidirectional formatting characters from -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}', ];