Skip to content

Conversation

@karljj1
Copy link
Contributor

@karljj1 karljj1 commented May 13, 2025

Fixed a bug where the next selector can be incorrectly parsed if you parse a complex selector and it contains a ">" without a following space.
For example

#collapse-button >#icon{ }

Would become and IdSelecor and a TypeSelector instead of 2 IdSelectors.
The bug was in the Lexer handling for Symbols.GreaterThan, it would Advance to perform a check for Symbols.Equality but it would not return GetPrevious if the value was not found. This PR includes a fix and a test.

@TylerBrinks TylerBrinks merged commit b0e2f46 into TylerBrinks:master May 20, 2025
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