hgroup tags wrapped by p tags

's Avatar


15 Dec, 2011 11:39 PM

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:


This is in **Markdown.**



<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?

  1. Support Staff 1 Posted by Brett on 15 Dec, 2011 11:56 PM

    Brett's Avatar

    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. 2 Posted by Joshua Choi on 16 Dec, 2011 12:37 AM

    Joshua Choi's Avatar

    Ah, I feared as much. Thank you for the message!

  3. Support Staff 3 Posted by Brett on 22 Dec, 2011 12:07 AM

    Brett's Avatar

    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.

  4. Brett closed this discussion on 22 Dec, 2011 12:07 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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