Commonmark writer: ensure that we don't have blank lines in raw HTML.

Closes #8307.
This commit is contained in:
John MacFarlane
2022-09-19 12:03:03 -07:00
parent cfbf0f096b
commit f3e9669e84
2 changed files with 63 additions and 1 deletions
+49
View File
@@ -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>
````