Rename Generator#generate_data to generate_html_attributes