diff options
author | Albert Krewinkel <tarleb@moltkeplatz.de> | 2014-04-12 11:07:38 +0200 |
---|---|---|
committer | Albert Krewinkel <tarleb@moltkeplatz.de> | 2014-04-12 11:07:38 +0200 |
commit | 82d4160bdcc149df020d1f95f4a7d893a9ecb42a (patch) | |
tree | 6e23f6629700535710b156efa14578bce79a1ab6 /tests/Tests | |
parent | 36066699c31ca50566ca2492a5c112ecbe690a63 (diff) | |
download | pandoc-82d4160bdcc149df020d1f95f4a7d893a9ecb42a.tar.gz |
Org reader: Read linebreaks
Linebreaks are marked by the string `\\` at the end of a line.
Diffstat (limited to 'tests/Tests')
-rw-r--r-- | tests/Tests/Readers/Org.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs index 49130f0ab..567cc4c41 100644 --- a/tests/Tests/Readers/Org.hs +++ b/tests/Tests/Readers/Org.hs @@ -94,6 +94,10 @@ tests = "a_{n+1}" =?> para (str "a" <> subscript "n+1") + , "Linebreak" =: + "line \\\\ \nbreak" =?> + para ("line" <> linebreak <> "break") + , "Markup-chars not occuring on word break are symbols" =: unlines [ "this+that+ +so+on" , "seven*eight* nine*" |