format html (WIP)