wycats/handlebars.js — pull request #388 by dmarcotte (2012-12-11 19:40:13+00:00)
Title: Allow empty blocks around simple inverses

The parser currently requires at least one character of whitespace to properly interpret empty blocks around simple inverses. See here for a [related issue in the IDEA-Handlebars plugin](https://github.com/dmarcotte/idea-handlebars/issues/34).

This is inconsistent with empty block parsing and fairly non-intuitive. It's also inconsistent with mustache.js (and possibly other mustache implementations, though the spec doesn't give any guidance for this particular case).

(This pull also addresses #251)

Let me know if there's any questions and thanks!