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

Infinite loop parsing CSS #6

Open
DanielHeath opened this issue Oct 10, 2016 · 2 comments
Open

Infinite loop parsing CSS #6

DanielHeath opened this issue Oct 10, 2016 · 2 comments

Comments

@DanielHeath
Copy link

The following code loops forever in the latest version:

package css

import (
    "testing"

    "github.com/aymerick/douceur/parser"
)

func TestInfiniteLoop(t *testing.T) {
    parser.Parse(`
@media ( __desktop ) {
  background-color: red;
}
`)
}
@ernsheong
Copy link

@DanielHeath You may want to check out https://github.com/chris-ramon/douceur

@BrianLeishman
Copy link

@ernsheong seems like his repo has the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants