cleaning up html to match cleaned up views