Hey,
it would be nice if you could provide more output formatting options.
I m reading the following css properties from a file for example:
.MobileBody {
margin: 0px;
padding: 0px;
border-width: 0px;
background-color: #f5f9fc;
overflow: auto
}
Now at my program I change some properties and need to export it to a new file. The output is the following:
.MobileBody { margin: 0px; padding: 0px; border-width: 0px; background-color: #f5f9fc; overflow: auto }
So each class selector with their css properties in 1 line. But i want to keep the indentations see below.
Like:
CSSSelector {
CSSProperty
..
..
..
}
Could you provide this output format option please?
Greets Tim
Anonymous
Hi Tim,
did a qick hack to support your request.
You can download a new build at https://wetator.ci.cloudbees.com/ or use the latest snapshot.
Please have a look. Does it solve your problem?
Hi, thanks for the fast support :) The code looks good. But i want to test it quickly.
The maven dependency to the latest snapshot fails.
Following dependency:
I used version 0.9.18 before.
Which version I need to use for my maven project?
your maven setup looks correct.
Maybe you have to add the sonatyle snapshot repository to your pom
I inserted the the sonatyle repository to my settings file. Now it works fine.
The feature is working perfectly. It's nice that I can setup the indent level now.
Thanks for the fast support!
You are welcome,
enjoy using CSSParser.