Save working function html_generic()