Within email templates we use the PDF template engine quite a lot. Such as the each syntax: https://docs.espocrm.com/user-guide/...#each-iterator
However, we regularly have that a moderator edits the emailTemplate using the WYSIWYG editor, which then creates an invalid PDF template syntax. E.g. by adding a <span> html tag within the {{each}} {{/each}} syntax.
As a result the emailTemplate cannot be rendered anymore and the workflows fail.
Is there a solution to this? E.g.
1. update the editor to not create errors in the pdf templates?
2. use markdown formatting in the emailTemplates instead of HTML?
However, we regularly have that a moderator edits the emailTemplate using the WYSIWYG editor, which then creates an invalid PDF template syntax. E.g. by adding a <span> html tag within the {{each}} {{/each}} syntax.
As a result the emailTemplate cannot be rendered anymore and the workflows fail.
Is there a solution to this? E.g.
1. update the editor to not create errors in the pdf templates?
2. use markdown formatting in the emailTemplates instead of HTML?
Comment