Add html str_type to generate_strings function.