82cc7fb0d4
Previously we inadvertently interpreted indented HTML as code blocks. This was a regression. We now seek to determine the indentation level of the contents of an HTML block, and (optionally) skip that much indentation. As a side effect, indentation may be stripped off of raw HTML blocks, if `markdown_in_html_blocks` is used. This is better than having things interpreted as indented code blocks. Closes #1841.
438 B
438 B
% pandoc
<table>
<tr>
<td> *one*</td>
<td> [a link](http://google.com)</td>
</tr>
</table>
^D
<table>
<tr>
<td>
<em>one</em>
</td>
<td>
<a href="http://google.com">a link</a>
</td>
</tr>
</table>
% pandoc
<table>
<tr>
<td>*one*</td>
<td>[a link](http://google.com)</td>
</tr>
</table>
^D
<table>
<tr>
<td>
<em>one</em>
</td>
<td>
<a href="http://google.com">a link</a>
</td>
</tr>
</table>