Skip to content

Compiler inserts spaces after all colons #16

@chris-h-sg

Description

@chris-h-sg

The ZUSS compiler inserts spaces when going through the following:

filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='@gradientLight', endColorstr='@gradientDark');

The result is

filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#000000');

Inserting the first space is fine and (I guess) intentional. The second space, however, breaks the function call and in the example, no gradient shows up in IE.
Would it be possible to have the compiler not insert spaces after colons on the right side of an expression?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions