-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code is displayed directly in the email template #347
Comments
Where exactly are you sending the test from, a campaign or a sendout? Please clear all caches in Craft to ensure this isn't coming from stale content. |
I'm not sure where this code is coming from – it's possible that a module/plugin is injecting it when it shouldn't be. Can you test this with a very simple HTML template, for example: <!doctype html>
<html>
<head>
<title>{{ campaign.title }}</title>
</head>
<body>
Hello, {{ contact.email }}!
</body>
</html> |
Thanks for checking. It looks like your email client is not respecting |
I've fixed this for the upcoming 2.3.0 release. If you'd like to help test then you can change the |
This works.. ok now on my side too |
Great! Released in version 2.3.0. |
Steps to reproduce the issue:
The JS code is displayed directly in the email template:
PHP version 8.0.25
OS version Linux 4.18.0-348.20.1.lve.1.el7h.x86_64
Database driver & version MySQL 10.6.11
Image driver & version GD 8.0.25
Craft edition & version Craft Pro 4.3.3
Yii version 2.0.46
Twig version v3.4.3
Guzzle version 7.5.0
Campaign 2.2.3
The text was updated successfully, but these errors were encountered: