aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-09-19 11:56:16 -0700
committerJohn MacFarlane <[email protected]>2022-09-19 12:03:03 -0700
commitf3e9669e8478c19f1bd00ff788275f4fd99fc6be (patch)
treeb1660eab31f70cae26d049cb8c2116dff0d4c138 /test
parentcfbf0f096bcdd9c9a5bfc2b394be863b39b34523 (diff)
Commonmark writer: ensure that we don't have blank lines in raw HTML.
Closes #8307.
Diffstat (limited to 'test')
-rw-r--r--test/command/8307.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/command/8307.md b/test/command/8307.md
new file mode 100644
index 000000000..d211d7003
--- /dev/null
+++ b/test/command/8307.md
@@ -0,0 +1,49 @@
+```
+% pandoc -t commonmark -f html
+<table>
+<tbody>
+<tr>
+<td title="this
+
+
+breaks">hello</td>
+</tr>
+</tbody>
+</table>
+^D
+<table>
+<tbody>
+<tr class="odd">
+<td title="this
+ &#10;
+breaks">hello</td>
+</tr>
+</tbody>
+</table>
+```
+
+````
+% pandoc -t commonmark -f markdown
+``` {=html}
+<table>
+<tbody>
+<tr>
+<td title="this
+
+
+breaks">hello</td>
+</tr>
+</tbody>
+</table>
+```
+^D
+<table>
+<tbody>
+<tr>
+<td title="this
+ &#10;
+breaks">hello</td>
+</tr>
+</tbody>
+</table>
+````