added html-content transform and html helper function