@@ -363,6 +363,13 @@ tests = [ testGroup "block elements"
364 , "[1] <verbatim></verbatim>- foo"
364 , "[1] <verbatim></verbatim>- foo"
366+ , "escape - after softbreak in note" =:
367+ note (para (str "foo" <> softbreak <> str "- bar")) =?>
371+ , " <verbatim></verbatim>- bar"
366 , "escape ; to avoid accidental comments" =: text "; foo" =?> "<verbatim></verbatim>; foo"
373 , "escape ; to avoid accidental comments" =: text "; foo" =?> "<verbatim></verbatim>; foo"
367 , "escape strings starting with ; and space" =: str "; foo" =?> "<verbatim></verbatim>; foo"
374 , "escape strings starting with ; and space" =: str "; foo" =?> "<verbatim></verbatim>; foo"
368 , "escape ; after softbreak" =: text "foo" <> softbreak <> text "; bar" =?> "foo\n<verbatim></verbatim>; bar"
375 , "escape ; after softbreak" =: text "foo" <> softbreak <> text "; bar" =?> "foo\n<verbatim></verbatim>; bar"