Open
Description
import html5lib
string = u"<p>name : value</p>"
dom = html5lib.parse(string, treebuilder="dom")
print len(dom.getElementsByTagName("p")[0].childNodes)
This gives three, split around the \u2009
. Per spec, we should have one child text node, I'm pretty sure. This only shows up here because etree/lxml can't have adjacent text nodes in their data model.