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

Incorrect beautifying of CSS comment including an url. #466

Closed
pixelastic opened this issue May 19, 2014 · 1 comment
Closed

Incorrect beautifying of CSS comment including an url. #466

pixelastic opened this issue May 19, 2014 · 1 comment

Comments

@pixelastic
Copy link

It seems like the css-beautify parser gets confused when a comment include an url.

The following code :

.selector1 {
   margin: 0; /* This is a comment including an url http://domain.com/path/to/file.ext */
}
.selector2 {
    height: 50px;
}

Gets converted to:

.selector1 {
    margin: 0; /* This is a comment including an url http://domain.com/path/to/file.ext *
}
.selector2 {
    height: 50px;
}

Notice how the ending */ of the comment containing the url gets messed up.

@bitwiseman bitwiseman added this to the v1.6.0 milestone Sep 30, 2014
@bitwiseman
Copy link
Member

Same as #506

@bitwiseman bitwiseman modified the milestones: v1.5.3, v1.6.0 Oct 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants