W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

End tag of HTML not ommited

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 2 Jul 1999 22:00:10 +0200
Message-ID: <00b401bec4c5$a49963f0$c7e0a8c0@de>
To: <html-tidy@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT