summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/smartquotes-on-newline.pngbin0 -> 1625 bytes
-rw-r--r--tests/typ/bugs/smartquotes-on-newline.typ7
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/bugs/smartquotes-on-newline.png b/tests/ref/bugs/smartquotes-on-newline.png
new file mode 100644
index 00000000..fdf4623a
--- /dev/null
+++ b/tests/ref/bugs/smartquotes-on-newline.png
Binary files differ
diff --git a/tests/typ/bugs/smartquotes-on-newline.typ b/tests/typ/bugs/smartquotes-on-newline.typ
new file mode 100644
index 00000000..3180350e
--- /dev/null
+++ b/tests/typ/bugs/smartquotes-on-newline.typ
@@ -0,0 +1,7 @@
+// Test that smart quotes are inferred correctly across newlines.
+
+---
+"test"#linebreak()"test"
+
+"test"\
+"test"