summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbluebear94 <uruwi@protonmail.com>2023-08-23 08:55:43 -0400
committerGitHub <noreply@github.com>2023-08-23 14:55:43 +0200
commit3fcb5ea73cbae20500f4695685df4caf0071d45a (patch)
treef61e85c8a6f8da8810e17de24af07e95dd0694b6 /tests
parentb59b8bfb352f57d50acd67a048baa8390d37e374 (diff)
Render opening smart quote after another opening quote of a different type (#1559)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/text/quotes.pngbin77389 -> 80933 bytes
-rw-r--r--tests/typ/text/quotes.typ6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/text/quotes.png b/tests/ref/text/quotes.png
index 8d3702b2..757e7478 100644
--- a/tests/ref/text/quotes.png
+++ b/tests/ref/text/quotes.png
Binary files differ
diff --git a/tests/typ/text/quotes.typ b/tests/typ/text/quotes.typ
index ec8c5e6a..e8a56b4d 100644
--- a/tests/typ/text/quotes.typ
+++ b/tests/typ/text/quotes.typ
@@ -60,3 +60,9 @@ He's told some books contain questionable "example text".
"She suddenly started speaking french: #text(lang: "fr")['Je suis une banane.']" Roman told me.
Some people's thought on this would be #[#set smartquote(enabled: false); "strange."]
+
+---
+// Test nested double and single quotes.
+"'test statement'" \
+"'test' statement" \
+"statement 'test'"