[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] grohtml vs. HTML Tidy
From: |
Alejandro Lopez-Valencia |
Subject: |
Re: [Groff] grohtml vs. HTML Tidy |
Date: |
Sun, 7 Dec 2003 14:19:47 -0500 |
On Sunday, December 07, 2003 4:44 AM [GMT-5],
Gaius Mulley <address@hidden> wrote:
> Werner LEMBERG <address@hidden> writes:
>
>>> This bugs me: take any man page, use grohtml on it and run HTML
>>> Tidy[1] on the result. It will spit out warnings about things
that
>>> shouldn't be there, e.g.:
>>>
>>> line 26 column 1 - Warning: <table> proprietary attribute "cols"
>>
>> IMHO, this has not as much priority currently as making grohtml
work
>> properly with diversions. AFAIK, Gaius is already aware of those
>> problems.
>
> yes I'm aware of html tidy - and certainly I'll make grohtml
produce
> tidy acceptable html output after the grohtml understands
diversions.
> I wonder whether anyone wishes to supply a patch for fixing
grohtml in
> respect to tidy. It is probably localised to grohtml/html-text.cpp
Well... Putting my money in the same place as my mouth, I have fixed
the most obvious bugs, at least the ones that I can fix without
breaking everything else; to tell the truth, as I haven't done
serious code churning in a loong time (much less in C++) I was
scared of touching the beast. There is still an issue with URI
escaping, all spaces within a reference label should be treated as
entities and replaced by the quoted printable code (%20); don't
think I can write the code myself!
Unified diff attached.
html-table-fixups.diff.bz2
Description: Binary data