aboutsummaryrefslogtreecommitdiff
path: root/test/command/4038.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-04 10:35:52 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-04 10:35:52 -0700
commit8e53489cbca3f230eed94294af3810d2447db2af (patch)
treef0e172cf3775ba48ff0bc7b0fc4a70d07aa19edd /test/command/4038.md
parentd31a04dfb223fc807341a168693628864202b4de (diff)
downloadpandoc-8e53489cbca3f230eed94294af3810d2447db2af.tar.gz
Fix strikethrough in gfm writer.
Previously we got a crash, because we were trying to print a native cmark STRIKETHROUGH node, and the commonmark writer in cmark-github doesn't support this. Work around this by using a raw node to add the strikethrough delimiters. Closes #4038.
Diffstat (limited to 'test/command/4038.md')
-rw-r--r--test/command/4038.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/4038.md b/test/command/4038.md
new file mode 100644
index 000000000..121760540
--- /dev/null
+++ b/test/command/4038.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f gfm -t gfm
+# ~~Header~~
+^D
+# ~~Header~~
+```