bem / bh

BH template engine
http://bem.github.io/bh/
MIT License
68 stars 31 forks source link

tag: Do not create node when in bemjson tag has an empty value #29

Closed sipayRT closed 10 years ago

sipayRT commented 10 years ago

bemjson:

{
    block : 'link',
    content : {
        block : 'link-content',
        tag : '',
        content : 'Empty link'
    }
}

output:

<a class="link ..." ... ><div class="link-content">Empty link</div></a>
mishanga commented 10 years ago

Fixed in 1.2.0