Join GitHub today
<button> is both and neither a block and a span element #173
< button > tags are almost always expanded as text (sorry I can't anymore figure out the only case where there are well interpreted).
It comes from the fact that button is both in HTML_SPAN_ELEMENTS/HTML_BLOCK_ELEMENTS and in HTML_CONTENT_MODEL_SPAN/HTML_CONTENT_MODEL_BLOCK.
@gettalong It's not minimal, but close to. It's actually supposed to render some bootstrappy thing.