Skip to content

How to prevent 0.5 from being changed to .5 #69

@asiby

Description

@asiby

The iLess library pre-processor is always removing the 0 before the decimal point.

I know that the final result is the same, but it does add a certain decibel to the commit messages as I am converting existing CSS files to less. I would be nice to have a configuration option that can control this behaviour.

Example:

Original code:

opacity: 0.01; 

Compile code:

opacity: .01;

Thanks.

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