Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sendgrid template does not support #with helper #92

Open
adokarasev opened this issue Oct 5, 2021 · 1 comment
Open

Sendgrid template does not support #with helper #92

adokarasev opened this issue Oct 5, 2021 · 1 comment

Comments

@adokarasev
Copy link

Actual Behaviour

Can not use with (https://handlebarsjs.com/guide/block-helpers.html#the-with-helper) block helper in email template. It does work in UI editor but actual email with the same test data does not contain the block.

Expected Behaviour

Email includes includes all blocks

Steps to reproduce it

  • Create simple template
{{#with data}}
    {{one}}
    {{two}}
    {{three}}
{{/with}}
  • Add test data
{
    "data": {
        "one": 1,
        "two": 2,
        "three": 3
    }
}
  • Check that UI editor shows 1 2 3
  • Send test email
@angularsen
Copy link

Bump, same here. I find it very odd that they refer to handlebars docs, but don't support the documented syntax for built-in helpers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants