Knotx / knotx-template-engine

Template Engine processes Fragment's data and template into final markup
https://knotx.io
Apache License 2.0
0 stars 4 forks source link

#25 Provide unit test & workaround for accessing root dashed variables. #26

Closed marcinus closed 4 years ago

marcinus commented 4 years ago

Provides a workaround for handling root dashed variables when using PebbleEngine.

Description

The workaround is achieved by introducing a new variable in PebbleEngineSyntaxOptions that can provide an arbitrary wrapping node in the context object processed by the Pebble Engine.

Motivation and Context

Fixes #25

Types of changes

Checklist:


I hereby agree to the terms of the Knot.x Contributor License Agreement.