You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The kramdown documentation for HTML blocks doesn't mention how <details> and <summary> blocks are treated. The default conversion for <summary> should not produce invalid HTML5.
Kramdown converts the following blocks to valid HTML5 (independently of the 'parse_block_html' option):
When using details/summary tags on GitHub, it appears that the summary text is unparsed, and using heading tags produces poor layout. See also #155 and this gist.
The text was updated successfully, but these errors were encountered:
When using the 'parse_block_html' option, kramdown converts
<summary>
blocks to invalid HTML5:produces:
The kramdown documentation for HTML blocks doesn't mention how
<details>
and<summary>
blocks are treated. The default conversion for<summary>
should not produce invalid HTML5.Kramdown converts the following blocks to valid HTML5 (independently of the 'parse_block_html' option):
When using the 'parse_block_html' option, kramdown converts also the following example correctly to HTML5:
Details
Using kramdown 2.3.1.
Invalid HTML5
produces:
Valid HTML5
and
produce:
Also
produces:
Unparsed content
produces:
Parsed content
produces:
When using details/summary tags on GitHub, it appears that the summary text is unparsed, and using heading tags produces poor layout. See also #155 and this gist.
The text was updated successfully, but these errors were encountered: