From 8e53489cbca3f230eed94294af3810d2447db2af Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 4 Nov 2017 10:35:52 -0700 Subject: 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. --- test/command/4038.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/command/4038.md (limited to 'test/command') 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~~ +``` -- cgit v1.2.3