refine html.