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

Tweak important detect #62

Merged
merged 1 commit into from
Jul 25, 2014
Merged

Conversation

barryvdh
Copy link
Contributor

The $value is always an array, not a string. Implode them before checking, instead of skipping.
The earlier version did work a bit, bit had problems with multiple !important statements.
See #59 (comment)

The $value is always an array, not a string. Implode them before checking, instead of skipping.
The earlier version did work a bit, bit had problems with multiple !important statements.
@barryvdh barryvdh mentioned this pull request Jul 25, 2014
@pbowyer
Copy link

pbowyer commented Jul 25, 2014

That fixes the issue I mentioned in #59, thanks 👍

tijsverkoyen added a commit that referenced this pull request Jul 25, 2014
@tijsverkoyen tijsverkoyen merged commit 5799d6d into tijsverkoyen:master Jul 25, 2014
@barryvdh barryvdh deleted the patch-4 branch July 25, 2014 12:35
barryvdh added a commit to barryvdh/CssToInlineStyles that referenced this pull request Jul 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants