fixup! Move build_element_from_tag out of the HTML parser.