kizu / bemto

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

Add true value for single attribute #73

Closed Lehakos closed 8 years ago

Lehakos commented 8 years ago

Hello. When i add single attribute, like 'required' or 'multiple', it's compiled to multiple='true'. How to avoid this?

jonscottclark commented 8 years ago

Can you share your code? And also describe how you are compiling your Jade to HTML?

I have a feeling this may be related to Jade itself and not bemto.

Lehakos commented 8 years ago

I compile jade with gulp, and when i write just sample jade code it's compile ok, when i use bemto like +b.INPUT.input(required) it's compiled to . Sorry for my bad bad english :)

Lehakos commented 8 years ago
kizu commented 8 years ago

Thanks, fixed in bemto.jade@1.0.3