format html markup for company/person edit/show pages