From 3305a018bc38a435a7bd006f9447d97ee3ea6868 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 30 Oct 2018 15:54:29 -0700 Subject: Roff reader: properly handle unknown backslash escapes. They are treated as regular characters, according to groff 7. Cloess #5034. --- test/Tests/Readers/Man.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/Tests/Readers/Man.hs b/test/Tests/Readers/Man.hs index c1bf10c80..d58a59dae 100644 --- a/test/Tests/Readers/Man.hs +++ b/test/Tests/Readers/Man.hs @@ -81,6 +81,8 @@ tests = [ "\\[u2020]" =?> (para $ text "†") , "unicode escapes (combined)" =: "\\[u0075_u0301]" =?> (para $ text "\250") + , "unknown escape (#5034)" =: + "\\9" =?> (para $ text "9") ], testGroup "Lists" [ "bullet" =: -- cgit v1.2.3