Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Minify Debug Mode: CSS line numbers debug data problem when source contatins comment with url #37
If you have a block comment in one line with an url inside it, the code incorrectly thinks the comment is not finished.
This is due to the double slash in http:// that gets trim if at the same line there is an */ following it.
For example, this line:
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 30, 2013 */
Gets converted to:
/* Generated by Font Squirrel (http:
So it thinks the comment is not finished.
That behaviour breaks web rendering because large portions of valid CSS get deactivated inside a comment when combining them inside the big css with line comments.
After talking with our lead developer on this one, he mentioned to me that the file where the bug is contained,
Are you able to replace your