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

Expression (ContextVariableExpression) name printing in strictVariables = false mode #658

Open
latyika94 opened this issue Sep 21, 2023 · 0 comments

Comments

@latyika94
Copy link

Hi Guys!

I am planning to use Pebble in my application for templating application mails.
It's nearly perfect for my usecase, but i do not know how to solve the following problem.

I want to render mail templates on maintenance page on web browser in strictVariables = false mode for users, where they can see more or less how would the mail will be sent with resolved expressions.
On maintenance page rendering the template is not a problem, but in strictVariables = false mode every expression became null or "" empty string.

There is a way displaying expression name instead of empty string / null value?

How is looking now:
image

What i want to achive:
image

Unfortunately i can not provide map of expressions with dummy values in this screen.

Thanks!

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

1 participant