aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2023-05-04 11:47:53 +0200
committerAlbert Krewinkel <[email protected]>2023-05-04 11:52:04 +0200
commitf9bbbf6f402edfac34db5482c9c5d9c4f230b875 (patch)
tree46c0cea4701bba38a55d617a2d02d072af1ac710 /test/command
parent05a23af76d30effa7e40e0346479fb57ed4804d3 (diff)
Markdown reader: disallow escaping of `~` and `"` in markdown_strict
This matches the behavior of the legacy `markdown.pl` as well as what is described in the manual. Fixes: #8777
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8777.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command/8777.md b/test/command/8777.md
new file mode 100644
index 000000000..56f5db07c
--- /dev/null
+++ b/test/command/8777.md
@@ -0,0 +1,8 @@
+# Backslash escapes in markdown_strict
+
+```
+% pandoc --from=markdown_strict -t html
+These are not escaped: \~ \"
+^D
+<p>These are not escaped: \~ \"</p>
+```