aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-17 18:08:57 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-17 18:15:47 -0700
commit3880a23de9004748319bdf3ecced676d6e5b2ea0 (patch)
treec5174f6c24db2a134d182f032b0688ecf65067d2 /test/command
parentebd7035a2a239b3dc845e518a9db9fc6a5181449 (diff)
downloadpandoc-3880a23de9004748319bdf3ecced676d6e5b2ea0.tar.gz
Properly escape attributes in Markdown writer.
Closes #5369.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5369.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/5369.md b/test/command/5369.md
new file mode 100644
index 000000000..2f3305c33
--- /dev/null
+++ b/test/command/5369.md
@@ -0,0 +1,7 @@
+```
+% pandoc -f native -t markdown
+[Div ("",[],[("tags","[\"o\\ne\",\"two\"]")]) [] ]
+^D
+::: {tags="[\"o\\ne\",\"two\"]"}
+:::
+```