aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-10-13 12:10:43 +0200
committerJohn MacFarlane <[email protected]>2025-10-13 12:11:29 +0200
commit3d6439ad156a24a75d04c90c9ab8aa1b2cd7d1b0 (patch)
tree4767728b328992d90a7e95563364f62cfcfd17c2 /test
parentd3ed33bd005a7b54a11fbaf43b60ee5e28ab070d (diff)
Typst writer: Escape open paren after non-space.
This fixes an issue that occurs if an open paren comes right after e.g. `#strong[test]`. Closes #11210.
Diffstat (limited to 'test')
-rw-r--r--test/command/11210.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command/11210.md b/test/command/11210.md
new file mode 100644
index 000000000..cfd3af7e8
--- /dev/null
+++ b/test/command/11210.md
@@ -0,0 +1,13 @@
+```
+% pandoc -t typst -f man
+.PP
+.IR login (1)
+.PP
+and a regular (paren) that should not be escaped.
+^D
+#emph[login]\(1)
+
+and a regular (paren) that should not be escaped.
+
+```
+