clean up HTML formatting