2016-01-06 - Stable version
Twital goes stable! 1.0.0 is out!
Included:
- Twig 2.0 support
- Parent and child templates are fully XHTML compatible. Added
t:block-inner
andt:block-outer
, andt:extends
attributes to be used instead oft:block
andt:extends
nodes (#39) - Documented
t:content
and added `t:replace ( #43) - Proper handling of HTML boolean attributes (#42)
Migration
1.0.0 is almost fully compatible with the 0.x
branch, no "real" issues are expected.
The only issue can be with XML templates:
On order to obtain:
<div class="1">
blah
</div>
Before:
<div t:attr="class=true">
blah
</div>
<!-- or -->
<div t:attr="class=1">
blah
</div>
<!-- or -->
<div t:attr="class='1'">
blah
</div>
After:
<!-- after -->
<div t:attr="class=1">
blah
</div>
<!-- or -->
<div t:attr="class='1'">
blah
</div>