format content into html