Can't set the root node when parsing a fragment because it alters the behavior of html_fragment too much