fb55/htmlparser2 — pull request #99 by chbrown (2014-09-04 02:17:08+00:00)
Title: h1, h2, ... h6 should auto-close p elements

h1, h2, ... h6 should auto-close p elements (among others, but p is what I need right now)

View http://jsfiddle.net/f9fvzxs0/ and check out resulting DOM in the Result box for an example of the browser's typical behavior.