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