Whitespace Control
christopherjbaker
released this
11 Jul 01:48
·
867 commits
to master
since this release
This release primarily includes whitespace control, from #179
Examples
<foo> {{-message-}} </foo>
will be rendered as<foo>{{message}}</foo>
<foo> {{{-message-}}} </foo>
will be rendered as<foo>{{{message}}}</foo>
<foo> {{- name -}} </foo><foo> {{{- name -}}} </foo>
will be rendered as<foo>{{ name }}</foo><foo>{{{ name }}}</foo>
<foo> {{-#data-}} {{->list-}} {{-/data-}} </foo>
will be rendered as<foo>{{#data}}{{>list}}{{/data}}</foo>
<foo>\n\t{{-! comment -}}\n</foo>
will be rendered as<foo>{{! comment }}</foo>