bem / bem-xjst

bem-xjst (eXtensible JavaScript Templates): declarative template engine for the browser and server
https://bem.github.io/bem-xjst
Other
116 stars 48 forks source link

Do not generate empty div on empty BEMJSON #76

Closed tadatuta closed 9 years ago

tadatuta commented 9 years ago

bem-xjst 2.x with default templates results with <div></div> for undefined or empty string as a BEMJSON but empty string expected.

indutny commented 9 years ago

Fixed in 6c5020251431e37955e0de43874c812b8a98c09c