diff options
author | rsiddharth <s@ricketyspace.net> | 2018-02-18 20:42:12 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-02-18 20:42:12 +0000 |
commit | 0b51106b5915ff7b22ff71d339e640794f9a407c (patch) | |
tree | 73a31749b11916686438c6ce329e4a9d574f9b9c /tests/data | |
parent | 606d8d17ba1537f42d5693d593af4b6bbd8ec355 (diff) |
tests: Add TestTWRenderer.test_render_block_html.
* tests/data/renderer-block-html-w.md: New file.
* tests/data/renderer-block-html.md: New file.
* tests/test_md_tw.py (test_render_block_html): New test method.
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/renderer-block-html-w.md | 22 | ||||
-rw-r--r-- | tests/data/renderer-block-html.md | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/tests/data/renderer-block-html-w.md b/tests/data/renderer-block-html-w.md new file mode 100644 index 0000000..b8c6c67 --- /dev/null +++ b/tests/data/renderer-block-html-w.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. diff --git a/tests/data/renderer-block-html.md b/tests/data/renderer-block-html.md new file mode 100644 index 0000000..a25207b --- /dev/null +++ b/tests/data/renderer-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. |