Closed thomashandorf closed 8 months ago
Thank you for the bug report. Do you think you can provide a minimal mjml file which triggers the error? I would love to extend the test suite.
Hi Frank, sure, i extracted an example:
`
`
Thanks for the great work, by the way!
minimal reproducer
<mjml>
<mj-body>
<mj-section background-url="http://site.example/test.png" background-size="contain">
<mj-column>
<mj-text>Foo Bar</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>
should be fixed in the latest main branch (827333421edcac08be680ea42f010f0232ea553d), I assume we'll do a new release once #45 is completed as well.
Hi,
i got the following error:
File "/Users/handorf/.pyenv/versions/3.10.2/envs/ga3-exporter/lib/python3.10/site-packages/mjml/elements/mj_section.py", line 342, in renderWithBackground vY = self._calc_origin_pos_value(is_y=False, bg_pos=bgPosY) TypeError: MjSection._calc_origin_pos_value() got an unexpected keyword argument 'is_y'
seems to be a simple typo.