Muse reader: test that block level markup does not break <verbatim>
This commit is contained in:
parent
37a82b0b11
commit
59fa4eb17e
1 changed files with 7 additions and 0 deletions
|
@ -226,6 +226,13 @@ tests =
|
|||
|
||||
, "Verbatim tag after text" =: "Foo <verbatim>bar</verbatim>" =?> para "Foo bar"
|
||||
|
||||
, "Verbatim tag escapes block level markup" =:
|
||||
T.unlines [ "Foo <verbatim>bar"
|
||||
, "* Not a heading"
|
||||
, "</verbatim>baz"
|
||||
] =?>
|
||||
para "Foo bar\n* Not a heading\nbaz"
|
||||
|
||||
, "Class tag" =: "<class name=\"foo\">bar</class>" =?> para (spanWith ("", ["foo"], []) "bar")
|
||||
, "Class tag without name" =: "<class>foobar</class>" =?> para (spanWith ("", [], []) "foobar")
|
||||
|
||||
|
|
Loading…
Reference in a new issue