Open andreyd-mindojo opened 8 years ago
also checked with clean handlebars templates (and only handlebars-loader) <div class="parent">{{{child cntxt=cntxt}}}</div>
and <div class="child">{{cntxt.title}}</div>
- result is the same: <div class="parent"><div class="child"></div></div>
We have simple structure of templates in emblem like this: parent.emblem
child.emblem (in the same folder as parent.emblem)
In sources we get template as
parentTemplate = require('../templates/parent.emblem');
, then doparentTemplate({cntxt: {title: 'TITLE'}})
and it returns<div class="parent"><div class="child"></div></div>
withoutTITLE
value.We use emblem loader that just pass handlebars templates further to handlebars loader. Emblem loader seems to correctly return handlebar templates: parent
child
What can cause this issue?