Fixed htmlToCSV export