summaryrefslogtreecommitdiff
path: root/tests/typ/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/bugs')
-rw-r--r--tests/typ/bugs/3662-pdf-smartquotes.typ12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/typ/bugs/3662-pdf-smartquotes.typ b/tests/typ/bugs/3662-pdf-smartquotes.typ
new file mode 100644
index 00000000..36dc8a15
--- /dev/null
+++ b/tests/typ/bugs/3662-pdf-smartquotes.typ
@@ -0,0 +1,12 @@
+// Smart quotes were not appearing in the PDF outline, because they didn't
+// implement `PlainText`
+// https://github.com/typst/typst/issues/3662
+
+---
+= It's "Unnormal Heading"
+= It’s “Normal Heading”
+
+#set smartquote(enabled: false)
+= It's "Unnormal Heading"
+= It's 'single quotes'
+= It’s “Normal Heading” \ No newline at end of file