metal.js
metal.js copied to clipboard
[metal-dom] handle edge cases selectors in `toElement`
the method toElement here does not handle in a correct way selectors as #id>.class that are written without spaces.
the problem is in the if on lines 768-771.
we need to handle this edge cases as selectors starting with an # and with one character as >, ~ or + inside the string.
I am working on the fix for this issue