We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following selectors seem to generate invalid XPath, crashing the whole parser:
With :first-child:
:first-child
.an-element > :first-child { /** Any rules **/ }
With :last-child:
:last-child
.an-element > :last-child { /** Any rules **/ }
The issue is closely related for these two. It causes an InvalidArgumentException to be thrown (at https://github.com/jjriv/emogrifier/blob/master/Classes/Emogrifier.php#L1532)
InvalidArgumentException
The text was updated successfully, but these errors were encountered:
:not(.class) selectors also trigger this error.
:not(.class)
Sorry, something went wrong.
@joeworkman I've entered #469 for adding support for :not(.class).
[TASK] Test > :first-child and > :last-child
> :first-child
> :last-child
9f35c50
Also added tests for `:first-child` and `:last-child` as entire selector, which previously had a placeholder comment “broken: …”. Closes #384.
[TASK] Test > :first-child and > :last-child (#720)
18588ca
JakeQZ
Successfully merging a pull request may close this issue.
The following selectors seem to generate invalid XPath, crashing the whole parser:
With
:first-child
:With
:last-child
:The issue is closely related for these two. It causes an
InvalidArgumentException
to be thrown (at https://github.com/jjriv/emogrifier/blob/master/Classes/Emogrifier.php#L1532)The text was updated successfully, but these errors were encountered: