From 1222ab5818ad9d1b4546273442d08ff74631913b Mon Sep 17 00:00:00 2001 From: zefr0x Date: Thu, 17 Jul 2025 10:37:06 +0300 Subject: [PATCH] Specify the standard smart quotes for `Arabic` The alternative is the default for RTL languages. --- crates/typst-library/src/text/smartquote.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/typst-library/src/text/smartquote.rs b/crates/typst-library/src/text/smartquote.rs index 375b1cf09..2ef701fdc 100644 --- a/crates/typst-library/src/text/smartquote.rs +++ b/crates/typst-library/src/text/smartquote.rs @@ -264,6 +264,7 @@ impl<'s> SmartQuotes<'s> { "he" => ("’", "’", "”", "”"), "hr" => ("‘", "’", "„", "”"), "bg" => ("’", "’", "„", "“"), + "ar" if !alternative => ("’", "‘", "«", "»"), _ if lang.dir() == Dir::RTL => ("’", "‘", "”", "“"), _ => default, };