xem / miniMinifier

HTML/CSS/JS minifiers in 128+ bytes
103 stars 8 forks source link

CSS minifier deletes semicola after strings and functions #20

Open Schnark opened 4 years ago

Schnark commented 4 years ago
.a::after {
    content: "";
    transform: rotate(45deg);
    display: block;
}

Expected: Only the last semicolon should be removed.

Actual: All semicola are removed, which is bad.

xem commented 4 years ago

aw, sorry about that! It'll be fixed in the complete version