From efc6994c8a792e72ae299bc33e18327c3c4acbc9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 23 Oct 2020 09:25:07 -0700 Subject: Commonmark writer: fix regression with fenced divs. Starting with 2.10.1, fenced divs no longer render with HTML div tags in commonmark output. This is a regression due to our transition from cmark-gfm. This commit fixes it. Closes #6768. --- test/command/6768.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/command/6768.md (limited to 'test/command/6768.md') diff --git a/test/command/6768.md b/test/command/6768.md new file mode 100644 index 000000000..17a3ae878 --- /dev/null +++ b/test/command/6768.md @@ -0,0 +1,21 @@ +``` +% pandoc -tcommonmark +::: custom_div +This is a div +::: +^D +
+ +This is a div + +
+``` + +``` +% pandoc -tcommonmark-raw_html +::: custom_div +This is a div +::: +^D +This is a div +``` -- cgit v1.2.3