Skip to content

Sendgrid template does not support #with helper #92

Description

@adokarasev

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions