diff --git a/app/src/protyle/util/table.ts b/app/src/protyle/util/table.ts index 3ed120d6c..83cb863da 100644 --- a/app/src/protyle/util/table.ts +++ b/app/src/protyle/util/table.ts @@ -190,9 +190,9 @@ export const insertColumn = (protyle: IProtyle, nodeElement: Element, cellElemen const tag = colCellElement.tagName.toLowerCase(); let html = ""; if (colCellElement === cellElement) { - html = `<${tag}> ` + `<${tag}> `.repeat(count - 1); + html = `<${tag}>` + `<${tag}>`.repeat(count - 1); } else { - html = `<${tag}> `.repeat(count); + html = `<${tag}>`.repeat(count); } colCellElement.insertAdjacentHTML(type, html); }