summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2024-03-18 11:43:41 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2024-03-18 11:43:41 -0700
commitd89167d25f1d7fc44741472303fe60d8ad57d87f (patch)
tree41f70c1aa109856c3ea417a09de3e506f2827bfb /test/command
parenteca2c82abd9782b61b31093fb6cfa848cab57d96 (diff)
Typst writer: more reliable escaping in inline `[..]` contexts.
For example, we need to escape `[\1. April]` or it will be treated as an ordered list. Closes #9586.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/9586.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/9586.md b/test/command/9586.md
new file mode 100644
index 000000000..aa7045189
--- /dev/null
+++ b/test/command/9586.md
@@ -0,0 +1,7 @@
+```
+% pandoc -t typst
+**1. April 2024**
+^D
+#strong[\1. April 2024]
+
+```