Not a bug Minify css doesn't remove line breaks

refael

Well-known member
I'm not sure if this is a bug or by design, but I'll post it here anyway.
The minify css option doesn't remove line breaks from the code.
Removing line breaks would reduce the filesize a little bit more.
 
Problem would be that Minify isn't a component of Xenforo. I'm sure if it needed to be modified to suit there purposes it will or has been. But it is its own maintained project.
 
Indeed, we're just using a library for this. It's pretty limited regex based approach as well. It appears that to some degree line breaks are intentional:
Code:
// separate common descendent selectors w/ newlines (to limit line lengths)
Bear in mind that it's still gzipped as well, so the difference will probably be fairly minimal.
 
Top Bottom