summaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2017-11-22 16:01:57 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2017-11-22 16:17:30 +0300
commit454062eccdcc0047e6134bdd4d86c2debb0b3ce7 (patch)
treebd6dbd2857a81fd1db3027a04bc40ac5d19ab5bc /test/Tests
parentc8ab4789b63422d27b03379ceea413e3fcffd577 (diff)
Muse writer: escape hash symbol
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Writers/Muse.hs2
1 files changed, 2 insertions, 0 deletions
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"
=?> "<verbatim>foo<</verbatim><verbatim>/verbatim>bar</verbatim>"
, "escape pipe to avoid accidental tables" =: str "foo | bar"
=?> "<verbatim>foo | bar</verbatim>"
+ , "escape hash to avoid accidental anchors" =: text "#foo bar"
+ =?> "<verbatim>#foo</verbatim> bar"
, "escape definition list markers" =: str "::" =?> "<verbatim>::</verbatim>"
-- We don't want colons to be escaped if they can't be confused
-- with definition list item markers.