vtex-emails
vtex-emails copied to clipboard
Eval helper doesn't match VTEX's implementation
The eval helper on this repo doesn't match the eval helper currently in production in VTEX.
Here's the result of {{eval "'${string}'.split(' ')[0]" string=_accountInfo.CompanyName}}
in VTEX:
Here's the result in vtex-emails
:
PR https://github.com/vtex/vtex-emails/pull/25 fixes this.