From 3fcb5ea73cbae20500f4695685df4caf0071d45a Mon Sep 17 00:00:00 2001 From: bluebear94 Date: Wed, 23 Aug 2023 08:55:43 -0400 Subject: Render opening smart quote after another opening quote of a different type (#1559) --- tests/ref/text/quotes.png | Bin 77389 -> 80933 bytes tests/typ/text/quotes.typ | 6 ++++++ 2 files changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/ref/text/quotes.png b/tests/ref/text/quotes.png index 8d3702b2..757e7478 100644 Binary files a/tests/ref/text/quotes.png and b/tests/ref/text/quotes.png 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'" -- cgit v1.2.3