def html_report(content):
html = "<div>"
for item in content:
if item.name == "name1":
html += "Name1 : {}".format(escape(item.content))
else:
# Error
pass
html += "</div>"
return html