Hi there,
I’m currently having a problem with the subject line rendering an apostrophe (') which renders it as ' . The same property renders just fine in the body though.
The value is a custom property sent from our API.
Hi there,
I’m currently having a problem with the subject line rendering an apostrophe (') which renders it as ' . The same property renders just fine in the body though.
The value is a custom property sent from our API.
Hi Barry,
Thanks for the reply. Unfortunately, I’ve tried that, as well as replace and the escape filters. It seems that they are not working as its supposed to.
How about something like:
{{ your_property|regex_replace("'", "'") }}
Edit: Per the documentation you can’t apply filters to personalization tokens in emails. That likely affects what I was suggesting here.
Although in running a quick email test using surnames with apostrophes in them in the subject line, I’m not running into the same issue. Granted that’s not through an API though.
Thanks, @BarryGrennan!
I have the same problem. I tried this above but I cant save the email
{{ personalization_token('contact.workflow_yacht_name|regex_replace("'", "") }}I get the following error: