Skip to content

Sendgrid template does not support #with helper #92

@adokarasev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions