-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
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
[BUG] It stuck in an infinite loop when parsing specific css. #390
Comments
I think this will solve it |
I recently encountered this as well and I believe it's because of an issue with When this token is passed to the Slick parser, it blocks at this line as the Regex evaluation seems to never completes. There is a PR open to fix this in mensch (brettstimmerman/mensch#29) but it uses a pattern with negative lookbehind which is not supported on all browsers. If it helps, here is a test case to reproduce this issue:
|
If you run this, you will never get a response.
If there is only one class inside the
:not(...)
, or if the class names are shorter - it could not be reproduced.Node version:
v10.24.1
Juice version:
8.0.0
The text was updated successfully, but these errors were encountered: