我使用widmogrod/zf2-mustache-module“DEV-主”与Zend框架2骨架应用错误意外关闭标签:上的Zend /内容髭2
在布局我有这样的代码:
{{$content}}{{/content}}
这应该是由每个控制器动作提供的实际内容替换
我收到此错误:
Unexpected closing tag: /content in vendor/mustache/mustache/src/Mustache/Parser.php
它用来在Zend框架1工作使用PHLY /胡子“开发高手” https://github.com/phly/phly-mustache
内容分块应该怎么看起来像在布局中,为了能够正确加载小胡子,与更换内容的控制器操作的实际内容?
您是否可以编辑您的帖子以实际包含问题? –
完成,对不起,如果不清楚, –