Skip to content

Prettier format url path with number incorrectly #62

Closed
@jasonxia23

Description

@jasonxia23
  • Node Version:
  • NPM Version:
  • postcss-values-parser Version: 1.5.0

This issue is regarding a problem with:

  • Standard CSS
  • LESS
  • SCSS
  • SASS

If you have a large amount of code to share which demonstrates the problem you're experiencing, please provide a link to your
repository rather than pasting code. Otherwise, please paste relevant short snippets below.

// offending or problematic css
body {
  background: url(http://123.example.com);
}

Expected Behavior

body {
  background: url(http://123.example.com);
}

Actual Behavior

body {
  background: url(http://123example.com);
}

How can we reproduce the behavior?

Playground link

See also prettier/prettier#5654

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions