Skip to content

calc whitespace not always preserved #22

Closed
@futtta

Description

@futtta

An Autoptimize-user has CSS with a calc in it which gets broken. Whereas YUI-CSS-compressor-PHP-port normally preserves spaces, it does not in this case (confirmed using GUI)

Test input;
input { width: calc(100% - (1em*1.5)); }

Expected output:
input{width:calc(100% - (1em*1.5))}

Actual Output:
input{width:calc(100% -(1em*1.5))}

Frank

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