klen / python-scss

Python scss parser.

Home Page:http://packages.python.org/scss/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug in parsing

lgriesterer opened this issue · comments

This scss script is not parsed:

.bug {
background: -moz-linear-gradient (top, #DDD, #AAA);
}

Fixed by this patch (which pass all the script in tests/):

  27c27
  < FUNCTION = Regex(r"-?[a-zA-Z_][-a-zA-Z0-9_]*") + PARAMS
  ---
  > FUNCTION = Regex(r"[a-zA-Z_][-a-zA-Z0-9_]*") + PARAMS

Fixed in version 0.8.22

Thanks