From 9abed458792564b610b2e999b01bae04ae0e23e0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 22 Sep 2019 12:00:55 -0700 Subject: RST reader: Fixed parsing of indented blocks. We were requiring consistent indentation, but this isn't required by RST, as long as each nonblank line of the block has *some* indentation. Closes #5753. --- test/command/5753.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/command/5753.md (limited to 'test/command') diff --git a/test/command/5753.md b/test/command/5753.md new file mode 100644 index 000000000..c82db6727 --- /dev/null +++ b/test/command/5753.md @@ -0,0 +1,15 @@ +``` +% pandoc -f rst -t native +.. math:: + + q_3 + + 4 + - 5 + + q_5 + +end +^D +[Para [Math DisplayMath "q_3\n+ 4\n- 5",Math DisplayMath "q_5"] +,Para [Str "end"]] +``` -- cgit v1.2.3