Skip to content

Commit 59243da

Browse files
authored
Specify the standard smart quotes for Arabic (typst#6626)
1 parent 48c3fb3 commit 59243da

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

crates/typst-library/src/text/smartquote.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ impl<'s> SmartQuotes<'s> {
264264
"he" => ("’", "’", "”", "”"),
265265
"hr" => ("‘", "’", "„", "”"),
266266
"bg" => ("’", "’", "„", "“"),
267+
"ar" if !alternative => ("’", "‘", "«", "»"),
267268
_ if lang.dir() == Dir::RTL => ("’", "‘", "”", "“"),
268269
_ => default,
269270
};

tests/ref/quote-dir-author-pos.png

10 Bytes
Loading

0 commit comments

Comments
 (0)