mirror of
https://github.com/typst/typst
synced 2025-07-27 14:27:56 +08:00
Specify the standard smart quotes for Arabic
The alternative is the default for RTL languages.
This commit is contained in:
parent
5661c20580
commit
1222ab5818
@ -264,6 +264,7 @@ impl<'s> SmartQuotes<'s> {
|
||||
"he" => ("’", "’", "”", "”"),
|
||||
"hr" => ("‘", "’", "„", "”"),
|
||||
"bg" => ("’", "’", "„", "“"),
|
||||
"ar" if !alternative => ("’", "‘", "«", "»"),
|
||||
_ if lang.dir() == Dir::RTL => ("’", "‘", "”", "“"),
|
||||
_ => default,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user