Skip to content

Commit

Permalink
Add return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole Orchard authored and Nicole Orchard committed Nov 27, 2024
1 parent de79584 commit 58fe937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mjml-core/src/createComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}

Expand Down

0 comments on commit 58fe937

Please sign in to comment.