From c4913631ac059b00e1d62e11776aaebf8b9ce383 Mon Sep 17 00:00:00 2001 From: yoannchb-pro <71560747+yoannchb-pro@users.noreply.github.com> Date: Thu, 23 Mar 2023 01:49:12 -0400 Subject: [PATCH] v1.0.0 --- src/utils/html-table-to-string.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/html-table-to-string.ts b/src/utils/html-table-to-string.ts index 367ef9a..e4f61a8 100644 --- a/src/utils/html-table-to-string.ts +++ b/src/utils/html-table-to-string.ts @@ -26,8 +26,8 @@ function htmlTableToString(table: HTMLTableElement) { "\n" + Array(lineSeparationSize).fill("-").join("") + "\n"; const mappedTab = tab.map((line) => { - const mappedLine = line.map((content, index) => - content.padEnd(maxColumnsLength[index], "\u00A0") + const mappedLine = line.map( + (content, index) => content.padEnd(maxColumnsLength[index], "\u00A0") //for no matching with \s ); return "|" + mappedLine.join("|") + "|"; });