@@ -348,6 +348,12 @@ tests = [ testGroup "block elements"
348348 , ""
349349 , " <verbatim></verbatim>- bar"
350350 ]
351+ , "escape - inside a note" =:
352+ note (para (text "- foo")) =?>
353+ unlines [ "[1]"
354+ , ""
355+ , "[1] <verbatim></verbatim>- foo"
356+ ]
351357 , "escape ; to avoid accidental comments" =: text "; foo" =?> "<verbatim></verbatim>; foo"
352358 , "escape ; after softbreak" =: text "foo" <> softbreak <> text "; bar" =?> "foo\n<verbatim></verbatim>; bar"
353359 , "escape ; after linebreak" =: text "foo" <> linebreak <> text "; bar" =?> "foo<br>\n<verbatim></verbatim>; bar"