spullara/mustache.java — Issue #10: Treat empty string as false
Author: CHH
Created: 2011-11-08 09:55:37+00:00
State: open

The official mustache implementation treats empty strings as false. You can try this on http://mustache.github.com/#demo
with the following example:

Template:

```
Some text

{{#empty_string}}

{{empty_string}}

{{/empty_string}}
```

Data:

```json
{
"empty_string": ""
}
```

Should result in:

```html
Some text

```

(Though this could also be an implication of what Ruby treats as false, I know this is different in Java)