diff --git a/src/components/Letter.vue b/src/components/Letter.vue index 8e7a5ddc067acca7a5e2cfbb84587ed51f470dbd..c99de39e4a9c7c7022a91e47d973f7b7382c512c 100644 --- a/src/components/Letter.vue +++ b/src/components/Letter.vue @@ -109,6 +109,11 @@ export default { }, formatText (text) { // Remove [Stuff] from text + + if (text instanceof Array) { + text = text.join(' ') + } + if (!this.showComments) { text = text.replace(/\[.*\]/, '') }