digitalsparky / jekyll-minifier

Jekyll HTML/XML/CSS/JS Minifier utilising yui-compressor, and htmlcompressor
GNU General Public License v3.0
245 stars 25 forks source link

Problem with calc() minify #5

Closed librisius closed 8 years ago

librisius commented 8 years ago

I have a complicated calc() function in my css. Like this: calc(100% - (50% - 480px + 250px) ) the problem is, that I get my code without needed space after minifying calc(100% -(50% - 480px+250px)) and it doesn't work! Please don't minify the spaces near "(" in a calc() function

Fix it as soon as possible

digitalsparky commented 8 years ago

The minification is currently performed using the YUI Compressor, as such this is a bug in their code. This project wraps a series of functions to perform these tasks easily.

As it appears that YUI Compressor is no longer maintained, I will look at replacing the YUI components with a more up to date alternative.

alexdelorenzo commented 4 years ago

This is still an issue in mid-2020.

Lius-fe commented 1 year ago

this is still an issue in mid-2023