summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTwoF1nger <140991913+TwoF1nger@users.noreply.github.com>2025-02-10 10:42:16 +0000
committerGitHub <noreply@github.com>2025-02-10 10:42:16 +0000
commitee47cb846924235be6eae968a7853ea7860ccc51 (patch)
tree12171a3d3a3ebcccf929b0ca3a8158b4820874b2
parent25e27169e1413c9e14184267be57fdbbb09e7c34 (diff)
Add smart quotes for Bulgarian (#5807)
-rw-r--r--crates/typst-library/src/text/smartquote.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/typst-library/src/text/smartquote.rs b/crates/typst-library/src/text/smartquote.rs
index 2f89fe29..f457a637 100644
--- a/crates/typst-library/src/text/smartquote.rs
+++ b/crates/typst-library/src/text/smartquote.rs
@@ -251,6 +251,7 @@ impl<'s> SmartQuotes<'s> {
"el" => ("‘", "’", "«", "»"),
"he" => ("’", "’", "”", "”"),
"hr" => ("‘", "’", "„", "”"),
+ "bg" => ("’", "’", "„", "“"),
_ if lang.dir() == Dir::RTL => ("’", "‘", "”", "“"),
_ => default,
};