summaryrefslogtreecommitdiff
path: root/tests/Tests/Readers/RST.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-13 11:14:50 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-13 11:15:31 -0800
commit5c067bb457a96d8c7c35c9e1ca114169a02c1d2d (patch)
treef4ea9be0e6f1381b25787c7e92c75b9e92fb8242 /tests/Tests/Readers/RST.hs
parent5ecadd7bfac0fea7b4269822b82aacf63fb192be (diff)
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/Readers/RST.hs')
-rw-r--r--tests/Tests/Readers/RST.hs4
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