summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorNazar Serhiichuk <43041209+G1gg1L3s@users.noreply.github.com>2025-06-04 11:13:39 +0300
committerGitHub <noreply@github.com>2025-06-04 08:13:39 +0000
commit4a8367e90add92a0a316bcc258e39d522b484c25 (patch)
tree20956477870643b3e9a3c1677b44f7eb7532f212 /crates
parentf7f163a8faff533b1646197a4260c98d1f30a0be (diff)
Fix Ukrainian secondary smart quotes (#6372)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst-library/src/text/smartquote.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/typst-library/src/text/smartquote.rs b/crates/typst-library/src/text/smartquote.rs
index 270d8f0f..09cefd01 100644
--- a/crates/typst-library/src/text/smartquote.rs
+++ b/crates/typst-library/src/text/smartquote.rs
@@ -247,8 +247,9 @@ impl<'s> SmartQuotes<'s> {
"es" if matches!(region, Some("ES") | None) => ("“", "”", "«", "»"),
"hu" | "pl" | "ro" => ("’", "’", "„", "”"),
"no" | "nb" | "nn" if alternative => low_high,
- "no" | "nb" | "nn" | "uk" => ("’", "’", "«", "»"),
+ "no" | "nb" | "nn" => ("’", "’", "«", "»"),
"ru" => ("„", "“", "«", "»"),
+ "uk" => ("“", "”", "«", "»"),
"el" => ("‘", "’", "«", "»"),
"he" => ("’", "’", "”", "”"),
"hr" => ("‘", "’", "„", "”"),