From 58fe9373b05e98226c60777c71905aa4445727e3 Mon Sep 17 00:00:00 2001 From: Nicole Orchard Date: Wed, 27 Nov 2024 09:41:41 -0600 Subject: [PATCH] Add return statement --- packages/mjml-core/src/createComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mjml-core/src/createComponent.js b/packages/mjml-core/src/createComponent.js index fb357f873..62b07efb4 100644 --- a/packages/mjml-core/src/createComponent.js +++ b/packages/mjml-core/src/createComponent.js @@ -209,7 +209,7 @@ export class BodyComponent extends Component { if (rawXML) { return children.map((child) => { child.attributes = {...attributes, ...child.attributes} - jsonToXML(child) + return jsonToXML(child) }).join('\n') }