<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 5: Keep comments from CSS-files</title><link>https://sourceforge.net/p/cssparser/feature-requests/5/</link><description>Recent changes to 5: Keep comments from CSS-files</description><atom:link href="https://sourceforge.net/p/cssparser/feature-requests/5/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 14 Sep 2017 05:46:57 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cssparser/feature-requests/5/feed.rss" rel="self" type="application/rss+xml"/><item><title>Keep comments from CSS-files</title><link>https://sourceforge.net/p/cssparser/feature-requests/5/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Janosch Knack</dc:creator><pubDate>Thu, 14 Sep 2017 05:46:57 -0000</pubDate><guid>https://sourceforge.net30f1e3712af665a0f4a55ba6df5dc9108179b3e9</guid></item></channel></rss>