This commit is contained in:
parent
69edd971b9
commit
c552588d94
@ -46,7 +46,9 @@ const table = new AsciiTable()
|
|||||||
return !linha.startsWith('+') && !linha.startsWith('\'') && !linha.startsWith('.') ;
|
return !linha.startsWith('+') && !linha.startsWith('\'') && !linha.startsWith('.') ;
|
||||||
});
|
});
|
||||||
|
|
||||||
let tabelaSemBorda = linhas.join('\n').replace(/[| -]/g, '');
|
let tabelaSemBorda = linhas.join('\n')
|
||||||
|
.replace(/\|/g, '') // Remove o caractere '|' que separa as colunas
|
||||||
|
.replace(/-/g, ' '); // Substitui o '-' por espaços (para não perder a formatação)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user