End tag of HTML not ommited

Hi,
[...]
-omit   or -o   omit optional endtags
[...]

Says the command line help.
Due to the Html specs </HTML> can be omitted, but it isn't when using -o.

Changing in tags.c

    "html", (VERS_ALL|VERS_FRAMES),  CM_HTML,          ParseHTML, CheckHTML,

to

    "html", (VERS_ALL|VERS_FRAMES), (CM_HTML|CM_OPT),  ParseHTML, CheckHTML,

Should correct this.

I cant check this, cause when i try to compile tidy (win32), cygwin (b20)
tells me the
following:

---------
i586-cygwin32\lib/libcygwin.a(libccrt0.o)(.data+0x4):libccrt0.cc:
 multiple definition of `environ'

i586-cygwin32\lib/libc.a(environ.o)(.data+0x4):environ.c:
 first defined here

i586-cygwin32\lib/libcygwin.a(libccrt0.o)(.data+0x0):libccrt0.cc:
 multiple definition of `_impure_ptr'

i586-cygwin32\lib/libc.a(impure.o)(.data+0x2ec):impure.c:
 first defined here
collect2: ld returned 1 exit status
make: *** [tidy] Error 1
---------

Has anyone got an idea how to fix this?
(please send mails refering to this problem not to the list, coz there is
nothing wrong with tidy, i think)

regards,
 Bjoern@Hoehrmann.de

Received on Friday, 2 July 1999 16:02:08 UTC