{: option parse_block_html='true'}
1. This is a free-standing paragraph, separated by newlines from its neighbors.
2. This is a div, separated by newlines from its neighbors in the sourcecode.
3. This is a div with an attribute, separated by newlines from its neighbors.
4. This paragraph has a div immediately following it, without newlines separating them.
The div should be rendered immediately follow the paragraph, and not in paragraph wrapping.
5. This paragraph has a div immediately following it, but starting after a newline.
The div should immediately follow the paragraph.
6. This paragraph has a div after it, without newlines separating them.
But this div has an attribute.
7. This paragraph also has a div in it, starting after a newline.
This div also has an attribute.
In kramdown 1.5.0
, examples 4, 6 and 7 fail. The <div>
is rendered as HTML-escaped text, complete with its tags.