vtex-emails icon indicating copy to clipboard operation
vtex-emails copied to clipboard

Eval helper doesn't match VTEX's implementation

Open jpesce opened this issue 2 years ago • 0 comments

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: Screen Shot 2022-05-03 at 20 08 08

Here's the result in vtex-emails: Screen Shot 2022-05-03 at 20 06 12

PR https://github.com/vtex/vtex-emails/pull/25 fixes this.

jpesce avatar May 03 '22 23:05 jpesce