mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 09:47:06 +00:00
Commonmark writer: ensure that we don't have blank lines in raw HTML.
Closes #8307.
This commit is contained in:
@@ -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
|
||||
|
||||
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
|
||||
|
||||
breaks">hello</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
````
|
||||
Reference in New Issue
Block a user