diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-09-22 12:00:55 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-22 12:01:45 -0700 |
commit | 9abed458792564b610b2e999b01bae04ae0e23e0 (patch) | |
tree | c269180ed34cc133857f6110fa6a91d4260a013e /test | |
parent | 9b6ee81c1916bb23d2cb24534adb88d65b4642df (diff) | |
download | pandoc-9abed458792564b610b2e999b01bae04ae0e23e0.tar.gz |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/5753.md | 15 |
1 files changed, 15 insertions, 0 deletions
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"]] +``` |