Skip to content
New issue

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

Fix ID selectors #670

Merged
merged 3 commits into from
Nov 9, 2016
Merged

Fix ID selectors #670

merged 3 commits into from
Nov 9, 2016

Conversation

ljharb
Copy link
Member

@ljharb ljharb commented Nov 9, 2016

This fixes the unintentional breaking change in 2.4.x (and 2.5.x), by committing horrible sins with regular expressions. This also does not revert the new behavior added in 2.4.x (that caused the breakage).

We desperately need to replace this with a proper CSS parser, but this should suffice for now.

Once merged, I'll also backport this to the 2.4.x line (and 2.5.x if master already has some semver-minor stuff).

@blainekasten
Copy link
Contributor

LGTM

@ljharb ljharb merged commit 459f86a into enzymejs:master Nov 9, 2016
@ljharb ljharb deleted the fix_id_selectors branch November 9, 2016 21:43
ljharb added a commit that referenced this pull request Nov 10, 2016
[Fix] `mount`/`shallow`: fix ID selectors

Fixes #495.
ljharb added a commit that referenced this pull request Nov 10, 2016
[Fix] `mount`/`shallow`: fix ID selectors

Fixes #495.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants