diff --git a/library/src/text/quotes.rs b/library/src/text/quotes.rs index 25d9cf881..d07980642 100644 --- a/library/src/text/quotes.rs +++ b/library/src/text/quotes.rs @@ -147,6 +147,7 @@ impl<'s> Quotes<'s> { "es" if matches!(region, Some("ES") | None) => ("“", "”", "«", "»"), "hu" | "pl" | "ro" => ("’", "’", "„", "”"), "ru" | "no" | "nb" | "nn" | "ua" => ("’", "’", "«", "»"), + _ if lang.dir() == Dir::RTL => ("’", "‘", "”", "“"), _ => return Self::default(), }; diff --git a/tests/ref/text/quotes.png b/tests/ref/text/quotes.png index 14bcc933c..8d3702b2e 100644 Binary files a/tests/ref/text/quotes.png and b/tests/ref/text/quotes.png differ diff --git a/tests/typ/text/quotes.typ b/tests/typ/text/quotes.typ index 05812e7c5..ec8c5e6ad 100644 --- a/tests/typ/text/quotes.typ +++ b/tests/typ/text/quotes.typ @@ -25,6 +25,9 @@ #set text(lang: "fi") "Hevonen ei syö kurkkusalaattia" oli ensimmäinen koskaan 'puhelimessa' lausuttu lause. +#set text(lang: "he") +"הסוס לא אוכל סלט מלפפונים" היה המשפט ההראשון שנאמר ב 'טלפון'. + #set text(lang: "ro") "Calul nu mănâncă salată de castraveți" a fost prima propoziție rostită vreodată la 'telefon'.