better splitting of selectors (#1440)
* better splitting of selectors - overlapping with #1401 * Add test from example at https://github.com/PostHog/posthog/pull/21427 * ignore brackets inside selector strings * Add another test as noticed that it's possible to escape strings * Ensure we are ignoring commas within strings Co-authored-by: Eoghan Murray <eoghan@getthere.ie>
This commit is contained in:
5
.changeset/modern-doors-watch.md
Normal file
5
.changeset/modern-doors-watch.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'rrweb-snapshot': patch
|
||||
---
|
||||
|
||||
better nested css selector splitting when commas or brackets happen to be in quoted text
|
||||
Reference in New Issue
Block a user