<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 5: Keep comments from CSS-files</title><link href="https://sourceforge.net/p/cssparser/feature-requests/5/" rel="alternate"/><link href="https://sourceforge.net/p/cssparser/feature-requests/5/feed.atom" rel="self"/><id>https://sourceforge.net/p/cssparser/feature-requests/5/</id><updated>2017-09-14T05:46:57.642000Z</updated><subtitle>Recent changes to 5: Keep comments from CSS-files</subtitle><entry><title>Keep comments from CSS-files</title><link href="https://sourceforge.net/p/cssparser/feature-requests/5/" rel="alternate"/><published>2017-09-14T05:46:57.642000Z</published><updated>2017-09-14T05:46:57.642000Z</updated><author><name>Janosch Knack</name><uri>https://sourceforge.net/u/yoshiman0/</uri></author><id>https://sourceforge.net30f1e3712af665a0f4a55ba6df5dc9108179b3e9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey, when i do some thing like&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;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());
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;all comments from this original css are removed.&lt;br/&gt;
Maybe you could provide a option via &lt;em&gt;CSSFormat&lt;/em&gt; class.&lt;br/&gt;
Thank you in advance&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>