aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Writers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-04-09 03:16:55 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-04-09 04:24:08 +0300
commit52803e2960c3520f8b2159f9076cb454c03988f8 (patch)
treefd8ba365cca4e7af736db687bb6a13f645117f77 /test/Tests/Writers
parent79b67dec7812cbd969a4fb53275cfeeaf2b54913 (diff)
downloadpandoc-52803e2960c3520f8b2159f9076cb454c03988f8.tar.gz
Muse writer: don't break headers, line blocks and tables with line breaks
Diffstat (limited to 'test/Tests/Writers')
-rw-r--r--test/Tests/Writers/Muse.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs
index 0526b2854..5d84150e1 100644
--- a/test/Tests/Writers/Muse.hs
+++ b/test/Tests/Writers/Muse.hs
@@ -360,6 +360,8 @@ tests = [ testGroup "block elements"
"remove soft break" $ text "a" <> softbreak <> text "b"
=?> "a b"
, "line break" =: text "a" <> linebreak <> text "b" =?> "a<br>\nb"
+ , "no newline after line break in header" =: header 1 (text "a" <> linebreak <> text "b") =?> "* a<br>b"
+ , "no softbreak in header" =: header 1 (text "a" <> softbreak <> text "b") =?> "* a b"
]
, testGroup "math"
[ "inline math" =: math "2^3" =?> "2<sup>3</sup>"