html_from_string assertion