kjdev / hoextdown

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

Header is rendered for empty setext headers, but not empty atx headers #9

Closed jasharpe closed 9 years ago

jasharpe commented 9 years ago

This markdown:

==

results in this:

<h1 id=""></h1>

But this markdown:

#

results in absolutely nothing.

They should be consistent, and my preference is that they both result in an empty header element. Simply disappearing from the output is bad.