aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/writer.rst')
-rw-r--r--tests/writer.rst43
1 files changed, 39 insertions, 4 deletions
diff --git a/tests/writer.rst b/tests/writer.rst
index 68bc4a06c..1a998d2ae 100644
--- a/tests/writer.rst
+++ b/tests/writer.rst
@@ -432,7 +432,13 @@ Interpreted markdown in a table:
.. raw:: html
<table>
+
+.. raw:: html
+
<tr>
+
+.. raw:: html
+
<td>
This is *emphasized*
@@ -440,6 +446,9 @@ This is *emphasized*
.. raw:: html
</td>
+
+.. raw:: html
+
<td>
And this is **strong**
@@ -447,9 +456,17 @@ And this is **strong**
.. raw:: html
</td>
+
+.. raw:: html
+
</tr>
+
+.. raw:: html
+
</table>
+.. raw:: html
+
<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
Here’s a simple block:
@@ -521,6 +538,8 @@ Multiline:
Blah
-->
+.. raw:: html
+
<!--
This is another comment.
-->
@@ -535,7 +554,7 @@ Just plain comment, with trailing spaces on the line:
.. raw:: html
- <!-- foo -->
+ <!-- foo -->
Code:
@@ -549,20 +568,36 @@ Hr’s:
<hr>
+.. raw:: html
+
<hr />
+.. raw:: html
+
<hr />
- <hr>
+.. raw:: html
+
+ <hr>
- <hr />
+.. raw:: html
- <hr />
+ <hr />
+
+.. raw:: html
+
+ <hr />
+
+.. raw:: html
<hr class="foo" id="bar" />
+.. raw:: html
+
<hr class="foo" id="bar" />
+.. raw:: html
+
<hr class="foo" id="bar">
--------------