Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.4
-
None
Description
The following template fails when xml is a variable from the model. Note that this only fails if used inside the div block. Outside of it, it runs fine.
MarkupTemplateEngine engine = new MarkupTemplateEngine(new TemplateConfiguration()) def template = engine.createTemplate ''' div { yield xml.file } ''' def model = [xml: [file:['test']]] String rendered = template.make(model)