cleanup html in views