make sure has-class works with other whitespace. closes #27