Injecting a <script> tag inside a template #3006
Unanswered
antoinewitkowski
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Just escape the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’d like to send an email to my users explaining how to add my script to their website.
For that, I created an email template where I want to include a short code snippet that users can copy and paste.
The problem is that this code snippet contains a
<script>tag.It seems that the
<script>tag is being sanitized (probably by Mandrill), which makes the code snippet completely unusable once the email is sent.Has anyone found a solution for this?
Additional information:
I’m using version
^4.7.0-beta.2of the pluginI also tried using
mj-raw, but it didn’t workThanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions