Philip Helger

Results 271 comments of Philip Helger
trafficstars

When you are using the `CSSWriter` to emit CSS code, you can provide `CSSWriterSettings`. Via `CSSWriterSettings.setOptimizedOutput (false)` it will create formatted CSS code. hth

See e.g. https://github.com/phax/ph-css/blob/master/ph-css/src/test/java/com/helger/css/writer/CSSWriterTest.java#L148

There is currently no way to customize the output with additional blanks or so - sorry

To read with line and column, you need to provide a `CSSReaderSettings` object to your `CSSReader`. Inside the `CSSReaderSettings` object you have to call `.setUseSourceLocation(true)`

@HanzoDev1375 I created a small sample for you

Can you please post the Exception you get - there is too much of your code included

Yes, because comments are not considered when reading CSS - this would heavily bloat and complicate the data structures. Sorry.

Hi @PedroGuedesDT, can you please post the example snippet here. What version are you using?

Yes it does. Will work with 7.1.0