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: excessive quoting in rewritten css urls #1399

Closed
wants to merge 1 commit into from

Conversation

aleclarson
Copy link
Member

Using JSON.stringify is unnecessary, since rewriteCssUrls wraps the url with quotes already. Checking for external urls and data urls is also unnecessary, since rewriteCssUrls does that too.

@yyx990803
Copy link
Member

Looks like windows tests are failing due to this change.

@yyx990803
Copy link
Member

closing in favor of #1412

@yyx990803 yyx990803 closed this Jan 7, 2021
@aleclarson
Copy link
Member Author

#1412 is concerned with data URLs, this PR is not.

@aleclarson aleclarson reopened this Jan 7, 2021
Using JSON.stringify is unnecessary, since `rewriteCssUrls` wraps the url with quotes already. Checking for external urls and data urls is also unnecessary, since `rewriteCssUrls` does that too.
@yyx990803
Copy link
Member

yyx990803 commented Jan 7, 2021

There are failing test cases - make sure to add tests for intended fix and have all tests pass locally.

@yyx990803 yyx990803 closed this in 1437129 Jan 7, 2021
@aleclarson aleclarson deleted the fix/css-1 branch June 24, 2021 23:56
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.

2 participants