Hi,
I have a CSS file with comments .
@CHARSET "UTF-8"; /** FIX - 07, MAY 2015**/ .thick { font-family: 'Lobster', cursive !important; background-position: -338px 0px !important; }
After parsing the above content, the comments are stripped out . I get
@CHARSET "UTF-8"; .thick { font-family: 'Lobster', cursive !important; background-position: -338px 0px !important; }
why comments are stripped out ? I require comments for understandability, Is there any option to make css parser not to remove css comments /****/ ?
I fear there is no opportunity at the moment because the parser simply ignores comments. Will have a look at this later, maybe there is a chance to improve cssparser. But only if I get this done without breaking backward compatibility. RBRi
Am 9. Juli 2015 10:14:12 MESZ, schrieb Asiya Wahab asiya10@users.sf.net:
Hi, I have a CSS file with comments . @CHARSET "UTF-8"; /** FIX - 07, MAY 2015**/ .thick { font-family: 'Lobster', cursive !important; background-position: -338px 0px !important; } After parsing the above content, the comments are stripped out . I get @CHARSET "UTF-8"; .thick { font-family: 'Lobster', cursive !important; background-position: -338px 0px !important; } why comments are stripped out ? I require comments for understandability, Is there any option to make css parser not to remove css comments /****/ ? Comments stripped from CSS Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/cssparser/discussion/283564/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Comments stripped from CSS
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/cssparser/discussion/283564/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
WETATOR Smart Web Application Testing www.wetetor .org
Log in to post a comment.
Hi,
I have a CSS file with comments .
@CHARSET "UTF-8";
/** FIX - 07, MAY 2015**/
.thick {
font-family: 'Lobster', cursive !important;
background-position: -338px 0px !important;
}
After parsing the above content, the comments are stripped out . I get
@CHARSET "UTF-8";
.thick {
font-family: 'Lobster', cursive !important;
background-position: -338px 0px !important;
}
why comments are stripped out ? I require comments for understandability,
Is there any option to make css parser not to remove css comments /****/ ?
I fear there is no opportunity at the moment because the parser simply ignores comments. Will have a look at this later, maybe there is a chance to improve cssparser. But only if I get this done without breaking backward compatibility.
RBRi
Am 9. Juli 2015 10:14:12 MESZ, schrieb Asiya Wahab asiya10@users.sf.net:
WETATOR
Smart Web Application Testing
www.wetetor .org