summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-01-07 03:20:38 +0000
committerrsiddharth <s@ricketyspace.net>2018-01-07 03:20:38 +0000
commit4b7864ddb5f5d8fc0cf967085bbd73faf4127544 (patch)
tree9bf73a1ee442e2ae65183a70f94a2015b2dd9b8f /tests/data
parentfc9b789240fbed2cf55255dd2b2e8d233e961de1 (diff)
tests: Add test_parse_block_html.
* tests/data/blexer-block-html.md: New file. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_block_html): New test.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/blexer-block-html.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/data/blexer-block-html.md b/tests/data/blexer-block-html.md
new file mode 100644
index 0000000..edc452d
--- /dev/null
+++ b/tests/data/blexer-block-html.md
@@ -0,0 +1,22 @@
+This is a regular paragraph.
+
+<table>
+ <tr>
+ <td>Monte Carlo</td>
+ </tr>
+</table>
+
+This is another regular paragraph, which is followed by some HTML
+fluff decorated with attributes.
+
+<div class="parley">
+ <article>
+ <p>A dispute conference; human snafu.</p>
+ </article>
+</div>
+
+Which is followed by a
+
+<hr />
+
+Ameba.