summaryrefslogtreecommitdiff
path: root/tests/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-07-07 15:47:51 -0600
committerJohn MacFarlane <jgm@berkeley.edu>2014-07-07 15:53:59 -0600
commite4263d306e6988dd322c895242eb818d22b9e012 (patch)
treed3f55381546316bece265028dd0beacad4fa4180 /tests/Tests
parent91b902f02f8224ea49ae26e7889a2c5032e2a79a (diff)
Revamped raw HTML block parsing in markdown.
- We no longer include trailing spaces and newlines in the raw blocks. - We look for closing tags for elements (but without backtracking). - Each block-level tag is its own RawBlock; we no longer try to consolidate them (though `--normalize` will do so). Closes #1330.
Diffstat (limited to 'tests/Tests')
-rw-r--r--tests/Tests/Readers/Markdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs
index 5a51fe759..60bc7314a 100644
--- a/tests/Tests/Readers/Markdown.hs
+++ b/tests/Tests/Readers/Markdown.hs
@@ -222,7 +222,7 @@ tests = [ testGroup "inline code"
=?> bulletList [divWith nullAttr (plain $ text "first div breaks") <>
rawBlock "html" "<button>" <>
plain (text "if this button exists") <>
- rawBlock "html" "</button>\n" <>
+ rawBlock "html" "</button>" <>
divWith nullAttr (plain $ text "with this div too.")]
]
]