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
I tried to parse this: .prose ul ul, .prose ul ol, .prose ol ul, .prose ol ol succeeds tokenizing, but fails with the error:
.prose ul ul, .prose ul ol, .prose ol ul, .prose ol ol
Error: Incorrect comma at 0 nestTokens@https://projects.verou.me/parsel/parsel.js:173:12 nestTokens@https://projects.verou.me/parsel/parsel.js:205:11 nestTokens@https://projects.verou.me/parsel/parsel.js:176:15 parse@https://projects.verou.me/parsel/parsel.js:244:22 tryout.oninput@https://projects.verou.me/parsel/:126:44 EventHandlerNonNull*@https://projects.verou.me/parsel/:120:2
(in the web version)
Here's some input-debugging:
a, b c, d
Incorrect comma at 0
b c, d
a, b c
a, b c,
a, b, d
I'm not sure what's happening. It has something to do with a non-trivial selector in the second item in the list.
Also: It'd be great to have this as an npm module uploaded. Is that planned? :)
The text was updated successfully, but these errors were encountered:
Oh wow. Thank you, looking into it now.
Sorry, something went wrong.
fd4dab6
Bug should be fixed, and the code is actually more readable now. Thank you! :)
Here you go! https://www.npmjs.com/package/parsel-js
No branches or pull requests
I tried to parse this:
.prose ul ul, .prose ul ol, .prose ol ul, .prose ol ol
succeeds tokenizing, but fails with the error:(in the web version)
Here's some input-debugging:
a, b c, d
fails withIncorrect comma at 0
.b c, d
works.a, b c
works.a, b c,
fails withIncorrect comma at 0
(even though I'd expect another error)a, b, d
works.I'm not sure what's happening. It has something to do with a non-trivial selector in the second item in the list.
Also: It'd be great to have this as an npm module uploaded. Is that planned? :)
The text was updated successfully, but these errors were encountered: