klen / python-scss

Python scss parser.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Functions with multiword parameters fail to parse

rockymeza opened this issue · comments

If a function is called with multiword parameters, such as center bottom, it throws a ParseException and exits.

This:

.test {
  background-image: -moz-linear-gradient(center bottom, #ffffff 1%, #000000 100%);
}

should compile to CSS that is identical, or without whitespace:

.test{background-image:-moz-linear-gradient(center bottom,#ffffff 1%,#000000 100%)}

This is similar to #9 in that it uses the -moz-linear-gradient CSS function, but different because that one only had single word parameters.

Sorry, I not supported python-scss anymore. Use https://github.com/Kronuz/pyScss