Partials now receive a flattened version of the parent context, including a cloned Mustache instance (if the root context is a Mustache instance). There may be issues with cloning, for example: if a pragma is enabled in the parent template, partials might also inherit the pragma. Added (basic) test case for partials.
2 lines
35 B
Plaintext
2 lines
35 B
Plaintext
Children of {{name}}:
|
|
{{>children}} |