@yakuzaa/jade 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands/html.js +1 -1
- package/package.json +1 -1
package/commands/html.js
CHANGED
|
@@ -467,7 +467,7 @@ function exportarCSV(dados, nomeArquivo) {
|
|
|
467
467
|
}).join(';'))
|
|
468
468
|
];
|
|
469
469
|
const bom = '\uFEFF'; // UTF-8 BOM para Excel
|
|
470
|
-
const blob = new Blob([bom + linhas.join('
|
|
470
|
+
const blob = new Blob([bom + linhas.join('\\n')], { type: 'text/csv;charset=utf-8;' });
|
|
471
471
|
const url = URL.createObjectURL(blob);
|
|
472
472
|
const a = document.createElement('a');
|
|
473
473
|
a.href = url;
|