Clean up HTML for views