JS inserted into notification HTML

I’m using the solution I found here: Exclude Gravity Forms Notifications from Classic Editor WYSIWYG [RESOLVED]

If I remove it, the script is not inserted but the visual editor messes up my email’s HTML.

Interestingly, it does not do this with just any plain HTML, just the code I build from MJML and import (responsive email layout.)

Doing a bit of exploration, I think the problem lays with GF’s Dom_Parser reading the notification HTML and determining that the script needs to be inserted into code – except that the insertion point is usually mid-body and not in the even.

Soo… is there a way to tell the DOM_Parser “hands-off” for notification email code??

1 Like