@@ -297,6 +297,7 @@ tests = [ testGroup "block elements"
297297 , "escape hash to avoid accidental anchors" =: text "#foo bar"
298298 =?> "<verbatim>#foo</verbatim> bar"
299299 , "escape definition list markers" =: str "::" =?> "<verbatim>::</verbatim>"
300+ , "normalize strings before escaping" =: fromList [Str ":", Str ":"] =?> "<verbatim>::</verbatim>"
300301 -- We don't want colons to be escaped if they can't be confused
301302 -- with definition list item markers.
302303 , "do not escape colon" =: str ":" =?> ":"