hgroup tags wrapped by p tags
I believe that this is a bug—it’s certainly not what I want—but I’m not sure whether this is required by the standard Markdown test suite.
Markdown supports embedded HTML code. However, in Marked:
<hgroup>
<h1>Test</h1>
<h2>Test</h2>
</hgroup>
This is in **Markdown.**
…becomes:
<p><hgroup>
<h1>Test</h1>
<h2>Test</h2>
</hgroup></p>
<p>This is in <strong>Markdown.</strong></p>
Of course, I’d prefer it if those extra paragraph tags
wrapping the hgroup
weren’t there. Would it be
possible for Marked to recognize hgroup
tags as HTML
tags too?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 15 Dec, 2011 11:56 PM
Marked uses MultiMarkdown to process the input. This issue falls into that domain. I don't think that mmd recognizes hgroup as a tag to ignore (ignores block level elements). You can file a report on the peg-multimarkdown repository at github, but there's not much I can do about this.
- Brett
2 Posted by Joshua Choi on 16 Dec, 2011 12:37 AM
Ah, I feared as much. Thank you for the message!
Support Staff 3 Posted by Brett on 22 Dec, 2011 12:07 AM
I've spoken with Fletcher and we have this and other HTML5 elements included in the parser. The new version of Marked with the updated MultiMarkdown binary should be available in the next few days.
Brett closed this discussion on 22 Dec, 2011 12:07 AM.