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

Interesting bug: output differs based on semi-colon usage #1382

Closed
matthew-dean opened this issue Jun 23, 2013 · 2 comments
Closed

Interesting bug: output differs based on semi-colon usage #1382

matthew-dean opened this issue Jun 23, 2013 · 2 comments

Comments

@matthew-dean
Copy link
Member

.test {
  color: blue
}

produces:

.test {
  color: #0000ff;
}

But, add a semi-colon, and:

.test {
  color: blue;
}

produces:

.test {
  color: blue;
}

Not the worst bug, but could indicate some underlying weirdness in parsing behavior.

@lukeapage
Copy link
Member

We have this bug somewhere already.

basically we have a regex of straight css, non less and if we match that then we don't parse it. without the semi-colon we are forced to parse properly. with it, we don't bother parsing it so we don't transform it to a hex colour

@seven-phases-max
Copy link
Member

Fixed in 2.0 branch.

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