andybalholm / cascadia

CSS selector library in Go
BSD 2-Clause "Simplified" License
697 stars 65 forks source link

Fix unicode escape #42

Closed benoitkugler closed 4 years ago

benoitkugler commented 4 years ago

Hi,

This PR fix a corner case when parsing unicode espace : if I'm not mistaken, the stop index should be start + 6 (that is p.i + 7), to allow 6 chars unicode sequences.