From 12ff835a8a8eeb374fb2992315c932809991fa63 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 12 Oct 2020 21:24:26 -0700 Subject: Commonmark reader: add pipe_table extension after defaults. Otherwise we get bad results for non-table, non-paragraph lines containing pipe characters. Closes #6739. See also jgm/commonmark-hs#52. --- test/command/6739.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/command/6739.md (limited to 'test') diff --git a/test/command/6739.md b/test/command/6739.md new file mode 100644 index 000000000..7c9ed24a2 --- /dev/null +++ b/test/command/6739.md @@ -0,0 +1,21 @@ +``` +% pandoc -f gfm +* `--argument` This item does not have a pipe character +* `--argA | --argB` This item has a pipe character +^D + +``` + +``` +% pandoc --mathjax -f gfm+tex_math_dollars +* $|x|$ +* $|y|$ +^D + +``` -- cgit v1.2.3