mack to html