HTML format cleanup