Closed socram8888 closed 6 months ago
Please note that the syntax rules state regarding raw HTML:
The only restrictions are that block-level HTML elements — e.g.
<div>
,<table>
,<pre>
,<p>
, etc. — must be separated from surrounding content by blank lines, and the start and end tags of the block should not be indented with tabs or spaces.
Of course, if they cannot be indented, then they cannot be nested inside list items. In fact, this same limitation exists in the reference implementation. We have no plans to change this behavior. However, one is certainly free to develop their own third-party extension which behaves differently.
When a
<table>
element is specified inside a list, it gets improperly wrapped with a<p>
:Returns:
This is not correct - tables are not allowed inside paragraph elements. What should be generated is: