Fix puredom("<node>") signature

Add support for passing HTML to the puredom() function to create a node.