aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-20 16:40:44 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-20 16:40:44 -0700
commitf202279902da34dfa4f22e4e53cb0bf93d519d1e (patch)
tree16141581bc6bed3ed1a4346708a6ce6de46dc2fd /test
parenta9fc71118fead17f2dfd122e60f0131efd2e21ea (diff)
downloadpandoc-f202279902da34dfa4f22e4e53cb0bf93d519d1e.tar.gz
Man reader: Fix .B, .I, .BR, etc.
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Man.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Tests/Readers/Man.hs b/test/Tests/Readers/Man.hs
index d45c69705..7541d1c67 100644
--- a/test/Tests/Readers/Man.hs
+++ b/test/Tests/Readers/Man.hs
@@ -40,12 +40,15 @@ tests = [
, "Macro args" =:
".B \"single arg with \"\"Q\"\"\""
=?> (para $ strong $ text "single arg with \"Q\"")
+ , "Argument from next line" =:
+ ".B\nsingle arg with \"Q\""
+ =?> (para $ strong $ text "single arg with \"Q\"")
, "comment" =:
".\\\"bla\naaa"
=?> (para $ str "aaa")
, "link" =:
".BR aa (1)"
- =?> para (text "aa(1)")
+ =?> para (strong (str "aa") <> str "(1)")
],
testGroup "Escapes" [
"fonts" =: