Comments (3)
That seems easy to fix, I will have a look asap.
Probably these are the consequence of applying the following commit (security fix):
acaa23b
Are you using latest version (2.0.8) ?
from nwsapi.
Thanks for the quick response! Yes, I reproduced the issue on the latest version, see the test cases in my PR here: #21 (I'm not sure if my fix is the correct fix, but it does demonstrate the issue)
I think if we're concerned about using \s*
, \s?
would suffice - allowing one space character would fix the issue with regards to CSS autoformatting.
from nwsapi.
Thanks for the fix in 9dfcc2a @dperini! I'm going to close this issue out as it's resolved now.
from nwsapi.
Related Issues (20)
- :scope selector direct children query is not working because of tag name resolution strategy HOT 4
- Tag with an uppercase letter is not working as expected in XML HOT 2
- querySelector > E HOT 1
- Id starting with digit throws SyntaxError: '...' is not a valid selector HOT 4
- unknown pseudo-class selector ':is(:is(button, input)[type=submit]' HOT 2
- Pseudo-class `:is()` should not fail on empty arg or invalid selectors in arg HOT 1
- Error on parenthesis in attribute value inside pseudo-class arg HOT 1
- Missing support for :has() pseudo-class HOT 5
- TypeError: Cannot read properties of undefined (reading 'toLowerCase') HOT 10
- TypeError: Cannot read properties of null (reading 'parentElement') HOT 4
- Publish a new release HOT 2
- unknown pseudo-class selector ':defined' HOT 1
- Upgrade from nwsapi 2.2.2 to 2.2.3 creates infinite loop HOT 12
- v2.2.3 DOMException [SyntaxError]: '.disabled):not(:disabled)' is not a valid selector HOT 26
- fix: v2.2.3 was broken and v2.2.4 it was not published on npm HOT 3
- Infinite loop fixed but still getting error in selectors HOT 25
- Attribute selector ~= does not handle escaped values correctly
- Concatenated `:not` selector doesn't work since version `2.2.3` HOT 1
- logicalsel Rexexp selects incorrect values since 2.2.3 HOT 5
- Not a valid selector HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nwsapi.