From f202279902da34dfa4f22e4e53cb0bf93d519d1e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 20 Oct 2018 16:40:44 -0700 Subject: Man reader: Fix .B, .I, .BR, etc. --- test/Tests/Readers/Man.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/Tests') 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" =: -- cgit v1.2.3