ractivejs/ractive — pull request #547 by martypdx (2014-04-04 15:47:23+00:00)
Title: Closing Section fixes and changes

Fix keypath expression sections:

{{#foo[bar]}}{{.}}{{/}}

Allow empty ref closing sections:

{{#items}}{{.}}{{/}} //this now works

But, look for mismatches on reference closing sections. This:

{{#foo}}{{.}}{{/bar}}

now raises:

Could not parse template: Illegal closing section {{/bar}}. Expected {{/foo}}.