renamed htmlize to a better toHtml name