kizu / bemto

Smart mixins for writing BEM in Pug
439 stars 66 forks source link

cancel replacement if explicitly specified tag #60

Closed pavel-yagodin closed 8 years ago

pavel-yagodin commented 8 years ago

Not to understand why you need to look for a tag based on the attributes of the tag if the set.

+b('button').button(type='submit') -> input.button(type='submit') +b('input').input(type='image' src='url') -> img.input(type='image' src='url')

¯_(ツ)_/¯

kizu commented 8 years ago

That was already fixed in rc-1.0 branch, would be there when 1.0 would be released, thanks for noticing though!