1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Dave Nebinger wrote: |
5 |
|
6 |
>> Well, while I enjoy a good challenge (especially sed, awk, or perl), |
7 |
>> htmltidy does the trick quite nicely. It doesn't indent the way that |
8 |
>> I do, but my first priority was making the output W3C compliant, and |
9 |
>> htmltidy's output is that. |
10 |
> |
11 |
> |
12 |
> I haven't used it in awhile, but there may be some command line |
13 |
> options to assist with the indentation... |
14 |
> |
15 |
There is the '-i' option, but the indentation is minimal. I tend to |
16 |
be pretty anal about indentation. But like I said, I'm not really |
17 |
concerned about that. My main concern was validation, and htmltidy |
18 |
gives me that. |
19 |
|
20 |
Thanks again. |
21 |
|
22 |
- -- |
23 |
gentux |
24 |
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge' |
25 |
|
26 |
gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A |
27 |
6996 0993 |
28 |
-----BEGIN PGP SIGNATURE----- |
29 |
Version: GnuPG v1.4.1 (GNU/Linux) |
30 |
|
31 |
iD8DBQFDOM1KLYGSSmmWCZMRAs3qAJ9hoq5MwibAnIEqfnJr/75lnlQlPgCgj6Wm |
32 |
hhFCE/G1Leo7ZUjExnM6OW8= |
33 |
=N9UW |
34 |
-----END PGP SIGNATURE----- |
35 |
|
36 |
-- |
37 |
gentoo-user@g.o mailing list |