Skip to content

Fix class selector to allow spaces#12

Closed
eciii wants to merge 1 commit intoericchiang:mainfrom
eciii:dev
Closed

Fix class selector to allow spaces#12
eciii wants to merge 1 commit intoericchiang:mainfrom
eciii:dev

Conversation

@eciii
Copy link
Copy Markdown

@eciii eciii commented Jun 24, 2022

The class selector currently doesn't split the class value in order to
recognize individual classes when multiple classes are provided in an
element node.

For example, the selector text ".a" will fail to recognize the div
element <div class="a b"></div>.

This pull request fixes that.

The class selector currently doesn't split the class value in order to
recognize individual classes when multiple classes are provided in an
element node.

For example, the selector text ".a" will fail to recognize the div
element '<div class="a b"></div>'.

This commit fixes that.
@ericchiang
Copy link
Copy Markdown
Owner

Thanks! fixed with #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants