Closed caseyjhol closed 1 year ago
The logic here is backwards from what it is in upstream:
wrapper_class = self.get_attr('css-class') if self.isFullWidth() else None
https://github.com/FelixSchwarz/mjml-stub/blob/main/mjml/elements/mj_section.py#L202
<div ${this.htmlAttributes({ class: this.isFullWidth() ? null : this.getAttribute('css-class'), style: 'div', })}>
https://github.com/mjmlio/mjml/blob/988819de3375867c09585d28f555166b97415200/packages/mjml-section/src/index.js#L414
I'll work on a PR and regression test.
The logic here is backwards from what it is in upstream:
https://github.com/FelixSchwarz/mjml-stub/blob/main/mjml/elements/mj_section.py#L202
https://github.com/mjmlio/mjml/blob/988819de3375867c09585d28f555166b97415200/packages/mjml-section/src/index.js#L414
I'll work on a PR and regression test.