Skip to content

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

Closed

Description

@matthew-dean
.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.

Activity

  1. lukeapage commented on Jun 23, 2013

    @lukeapage
    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

  2. seven-phases-max commented on Feb 18, 2014

    @seven-phases-max
    Member

    Fixed in 2.0 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions