gruntjs/grunt-contrib-cssmin

bad css if declaring classes with word "null"

nicolaelitvac opened this issue · 2 comments

This css :
.page__section--padding-null { padding: 0; } .page__section--padding-top-null { padding-top: 0; } .page__section--padding-bottom-null { padding-bottom: 0; }

Is transformed into :
.page__section--padding-$1 $2]{padding:0}.page__section--padding-top-$1 $2]{padding-top:0}.page__section--padding-bottom-$1 $2]{padding-bottom:0}

Word "null" appears as "$1 $2]".

+1, Please fix this issue
input:
.record-null{color:#aaa;}
output:
.record-$1 $2]{color:#aaa}

Issues with the output should be reported on the clean-css issue tracker.