@@ -363,6 +363,13 @@ tests = [ testGroup "block elements"
363363 , ""
364364 , "[1] <verbatim></verbatim>- foo"
365365 ]
366+ , "escape - after softbreak in note" =:
367+ note (para (str "foo" <> softbreak <> str "- bar")) =?>
368+ unlines [ "[1]"
369+ , ""
370+ , "[1] foo"
371+ , " <verbatim></verbatim>- bar"
372+ ]
366373 , "escape ; to avoid accidental comments" =: text "; foo" =?> "<verbatim></verbatim>; foo"
367374 , "escape strings starting with ; and space" =: str "; foo" =?> "<verbatim></verbatim>; foo"
368375 , "escape ; after softbreak" =: text "foo" <> softbreak <> text "; bar" =?> "foo\n<verbatim></verbatim>; bar"