Closed leemiller closed 7 years ago
Hi, this will be fixed in the next mjml version (see https://github.com/mjmlio/mjml/pull/392). You can edit the node_modules/mjml-core/lib/MJMLElementsCollection.js
file as a temporary fix.
Thank you @meriadec !
Using gulp-mjml v1.0.1 and mjml 2.3.3 wraps all of the text in tags in CDATA tags twice, but only the outer of those tags is removed after rendering.
The code
is run twice; once for the default mjml engine in gulp-mjml, and once for my custom engine. This causes the rendering engine of either instance to loop over each of those types of components twice, wrapping the inner contents in two CDATA tags.
I have an example here.