Skip to content

Support double slash comments #49

@alexander-akait

Description

@alexander-akait
  • Node Version: latest
  • NPM Version: latest
  • postcss-values-parser Version: latest

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.

.foo {
  prop: 1px // comment
    2px;
}

Expected Behavior

Double slash will be parsed as comments

Actual Behavior

Don't parsed.

How can we reproduce the behavior?

Try to parse example above.

What do you think it is possible. I think problem only in one place - url(http://domain.com). Any ideas how we can solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions