Cleans up html formatting