ekryski / less2sass

A little script to convert less to sass files
MIT License
273 stars 40 forks source link

Double Ampersand not converted #20

Open Omranic opened 7 years ago

Omranic commented 7 years ago

Input LESS

.example {
    &&-rtl {
            /**/
    }
}

Output SASS

.example {
    &&-rtl {
            /**/
    }
}

Expected SASS

.example {
    &.example-rtl {
            /**/
    }
}
Kenvdb commented 7 years ago

This could probably be fixed as:

.example {
    &#{&}-rtl {
            /**/
    }
}