@@ -279,6 +279,8 @@ tests = [ testGroup "block elements"
279279 =?> "<verbatim>foo<</verbatim><verbatim>/verbatim>bar</verbatim>"
280280 , "escape pipe to avoid accidental tables" =: str "foo | bar"
281281 =?> "<verbatim>foo | bar</verbatim>"
282+ , "escape hash to avoid accidental anchors" =: text "#foo bar"
283+ =?> "<verbatim>#foo</verbatim> bar"
282284 , "escape definition list markers" =: str "::" =?> "<verbatim>::</verbatim>"
283285 -- We don't want colons to be escaped if they can't be confused
284286 -- with definition list item markers.