kjdev / hoextdown

Hoextdown is an extension to Hoedown
MIT License
23 stars 15 forks source link

Indented header on the first line of a list item isn't parsed as a header #7

Closed jasharpe closed 9 years ago

jasharpe commented 9 years ago

This markdown doesn't parse as I'd expect:

* # foo

  # bar

*   # foo

    # bar

I would expect the two list items would render the same way, but the second "# foo" header (with extra space) is not recognized as a header. This is inconsistent since "# bar" is parsed as a header in both cases.