phplist3 icon indicating copy to clipboard operation
phplist3 copied to clipboard

json-ld data in html message

Open Maasik opened this issue 3 years ago • 1 comments

Need support for data format "json-ld" - https://developers.google.com/gmail/markup/reference/formats/json-ld

function disableJavascript($content) { ## disallow Javascript $content = str_ireplace('<script','< script',$content);

disallows all script

Maasik avatar Dec 18 '21 12:12 Maasik

Yes, script tags are disabled for security reasons. Sending JS in an email is likely to make it be caught in spam filter. I can see that adding this json-ld can be useful, but I think that is best resolved with a plugin that automatically adds it to a campaign, and not by pasting the code in the campaign content part.

michield avatar Dec 18 '21 18:12 michield