diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-13 11:14:50 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-13 11:15:31 -0800 |
commit | 5c067bb457a96d8c7c35c9e1ca114169a02c1d2d (patch) | |
tree | f4ea9be0e6f1381b25787c7e92c75b9e92fb8242 /tests/Tests | |
parent | 5ecadd7bfac0fea7b4269822b82aacf63fb192be (diff) | |
download | pandoc-5c067bb457a96d8c7c35c9e1ca114169a02c1d2d.tar.gz |
RST reader: Line block improvements.
* Use nonbreaking spaces for initial indent (otherwise lost in HTML and
LaTeX).
* Allow multiple paragraphs in a single line block.
Diffstat (limited to 'tests/Tests')
-rw-r--r-- | tests/Tests/Readers/RST.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Tests/Readers/RST.hs b/tests/Tests/Readers/RST.hs index fdce7c8f6..0ad21f224 100644 --- a/tests/Tests/Readers/RST.hs +++ b/tests/Tests/Readers/RST.hs @@ -18,8 +18,8 @@ infix 4 =: tests :: [Test] tests = [ "line block with blank line" =: - "| a\n|\n| b" =?> para (str "a" <> linebreak <> - linebreak <> str " " <> str "b") + "| a\n|\n| b" =?> para (str "a") <> + para (str "\160b") , "field list" =: [_LIT| :Hostname: media08 |