Closed FelixSchwarz closed 3 years ago
welcome-email.mjml
(current version in the repo) is now rendered correctly, mostly due to commits b4d7d131b84b71daa6a1d7f5847efb88ed4f3069 and eab6cc4766384d2c2f0fbe486a70bfb86d68a7cd.
With 21b2234 I can also render the updated welcome-email.mjml
from the mentioned pull request if I remove the style inlining manually (CSS inlining will be implemented in #1).
The upstream project also hosts a couple of example templates in the email-templates repo. One of these examples is welcome-email.mjml but that template can not processed currently due to shortcomings (even after PR #2) in this Python port:
I noticed the upstream JS code complains about some illegal attributes and the mjml template in general looks pretty convoluted:
Nevertheless I think the Python code should be able to handle that (unless the Python code becomes too messy).
Also there is an upstream pull request to clean up that template by @willhertz but even after applying that change the Python code fails.
The Python code must be able to handle the updated template as the upstream validator does not complain about any invalid attributes there.