From 454062eccdcc0047e6134bdd4d86c2debb0b3ce7 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Wed, 22 Nov 2017 16:01:57 +0300 Subject: Muse writer: escape hash symbol --- test/Tests/Writers/Muse.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/Tests') diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs index a19f2f57e..562cccfe5 100644 --- a/test/Tests/Writers/Muse.hs +++ b/test/Tests/Writers/Muse.hs @@ -279,6 +279,8 @@ tests = [ testGroup "block elements" =?> "foo</verbatim>bar" , "escape pipe to avoid accidental tables" =: str "foo | bar" =?> "foo | bar" + , "escape hash to avoid accidental anchors" =: text "#foo bar" + =?> "#foo bar" , "escape definition list markers" =: str "::" =?> "::" -- We don't want colons to be escaped if they can't be confused -- with definition list item markers. -- cgit v1.2.3