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 'getImageUrl' function #78

Merged
merged 1 commit into from
Feb 7, 2017

Conversation

koppthe
Copy link
Contributor

@koppthe koppthe commented Jan 16, 2017

Fix the problem that can not extracts the correct url of image from compressed CSS rule.

If there is another brackets after background rule, the getImageUrl function can't extract the correct url of image.

Input:

.share-container .plane{width:75px;height:75px;background-image:url("../img/other/plane.png");background-repeat:no-repeat;-webkit-transform:scale(0.5);transform:scale(0.5);}

Output:

"../img/other/plane.png);background-repeat:no-repeat;-webkit-transform:scale(0.5);transform:scale(0.5"

Expect:

"../img/other/plane.png"

Fix the problem that can not extracts the correct url of image from compressed CSS rule.
@vvasilev- vvasilev- merged commit 78161c3 into 2createStudio:master Feb 7, 2017
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.

None yet

2 participants