You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property '0' of null
at getName (/home/muji/git/makestatic/compiler/packages/auto-title/node_modules/css-what/index.js:97:36)
at parseSelector (/home/muji/git/makestatic/compiler/packages/auto-title/node_modules/css-what/index.js:145:13)
at parse (/home/muji/git/makestatic/compiler/packages/auto-title/node_modules/css-what/index.js:82:13)
at Function.compileUnsafe (/home/muji/git/makestatic/compiler/packages/auto-title/node_modules/css-select/lib/compile.js:33:15)
at Function.select [as selectOne] (/home/muji/git/makestatic/compiler/packages/auto-title/node_modules/css-select/index.js:20:51)
...
As browsers handle this fine I am wondering whether it is legal to have a period in an id as far as selectors go.
Can you advise? If you feel it's worth patching I am happy to give it a shot and submit a PR.
The text was updated successfully, but these errors were encountered:
When an
id
selector contains a period I get a runtime error here:https://github.com/fb55/css-what/blob/master/index.js#L97
Such as (truncated for brevity):
As browsers handle this fine I am wondering whether it is legal to have a period in an
id
as far as selectors go.Can you advise? If you feel it's worth patching I am happy to give it a shot and submit a PR.
The text was updated successfully, but these errors were encountered: