html_untag: support cast for HTML argument