diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index febd741c1..980fbe297 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -335,7 +335,7 @@ export class WYSIWYG { textPlain += cellText + "\t"; } }); - textPlain = textPlain.substring(0, textPlain.length - 2); + textPlain = textPlain.substring(0, textPlain.length - 1); html = html.substring(0, html.length - 1) + "]"; } } else if (selectTableElement) {