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: Correctly process urls when they are rewritten to contain space #7452

Merged
merged 3 commits into from Mar 27, 2022

Commits on Mar 25, 2022

  1. fix: Correctly process urls when they are rewritten to contain space

    If a CSS file contains
    
    background: url(folder/foo.png)
    
    and the processing of the URL causes "folder" to be rewritten to e.g. "other folder", then the end result cannot be
    
    background: url(other folder/foo.png)
    
    because using space without wrapping the url with ' or " is not allowed.
    
    This rewrites the url in this case to
    
    background: url('other folder/foo.png')
    Artur- committed Mar 25, 2022
    Copy the full SHA
    6545912 View commit details
    Browse the repository at this point in the history
  2. chore: lint

    patak-dev committed Mar 25, 2022
    Copy the full SHA
    fd80465 View commit details
    Browse the repository at this point in the history
  3. .

    Artur- committed Mar 25, 2022
    Copy the full SHA
    99a8acd View commit details
    Browse the repository at this point in the history