Hey, when i do some thing like
InputSource source = new InputSource(new StringReader(cssString)); CSSOMParser parser = new CSSOMParser(new SACParserCSS3()); CSSStyleSheetImpl sheet = (CSSStyleSheetImpl) parser.parseStyleSheet(source, null, null); String printCss = sheet.getCssText(new CSSFormat());
all comments from this original css are removed.
Maybe you could provide a option via CSSFormat class.
Thank you in advance
Anonymous