diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2023-12-11 10:05:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-11 16:05:31 +0100 |
| commit | d52fcd5b46ce3790c1cd0b1f5d84d44245f31095 (patch) | |
| tree | 02dc73326e98d813bc94b71f82943bf8df63b0b8 | |
| parent | 70aff987a5812b620c48cd12f11d55eb483d6157 (diff) | |
Fix quotes in Danish (#2892)
| -rw-r--r-- | crates/typst/src/text/smartquote.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/typst/src/text/smartquote.rs b/crates/typst/src/text/smartquote.rs index 1ea39c9e..9e62bea3 100644 --- a/crates/typst/src/text/smartquote.rs +++ b/crates/typst/src/text/smartquote.rs @@ -208,7 +208,8 @@ impl<'s> SmartQuotes<'s> { true => low_high, }, "cs" | "da" | "de" | "sk" | "sl" if alternative => ("›", "‹", "»", "«"), - "cs" | "da" | "de" | "et" | "is" | "lt" | "lv" | "sk" | "sl" => low_high, + "cs" | "de" | "et" | "is" | "lt" | "lv" | "sk" | "sl" => low_high, + "da" => ("‘", "’", "“", "”"), "fr" | "ru" if alternative => default, "fr" => ("‹\u{00A0}", "\u{00A0}›", "«\u{00A0}", "\u{00A0}»"), "fi" | "sv" if alternative => ("’", "’", "»", "»"), |
