batiste / pug-vdom

PUG template to HyperScript Virtual DOM
MIT License
18 stars 6 forks source link

Pull request for allowing multiple classes #4

Closed chapachapa closed 7 years ago

chapachapa commented 7 years ago

Hey batiste,

I've added a piece of code that solves the issue where in the code below, both lines 'class1' is overwritten by 'class2' when converted.

.class1.class2(id='elemId') .class1(id='elemId' class='.class2')

Thank you!