I wrote elgg_view_html_element() before I noticed elgg_format_element(). I agree on updating elgg_format_element() to have a more reasonable signature and then dropping elgg_view_html_element().