#124 finer controll over indent

open
nobody
5
2009-05-21
2009-05-21
No

Hi

Can anyone tell me how to get finer control of the indenting htmltidy does? I want to prevent htmltidy staring so many newlines. The option tag is a good example, htmltidy add 4 new lines when I would only add 1.

For example:

<select>
<option value="a">A</option>
<option value="b">B</option>
</select>

instead of:

<select>
<option value="a">
A
</option>

<option value="a">
B
</option>
</select>

Thanks

Adam

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks