[links-list] Re: probable bug in elinks: wrong < and > interpretation

Nicolas George nicolas.george at ens.fr
Sat Jan 5 08:49:36 PST 2002


Le samedi 05 janvier 2002 à 15:38, clemensF a écrit :
>				 for example, my page had numerous
> unclosed <li> (list item) tags. tidy reported these and other problems
> as too severe to enter the "output-tidy-source" phase.

If tidy complains about unclosed <li>, <p> or so, it is completly bogus:
they are perfectly legal in HTML. According to the HTML 4.01 reference:

# <!ELEMENT LI - O (%flow;)*             -- list item -->
# <!ATTLIST LI
#   %attrs;                              -- %coreattrs, %i18n, %events --
#   >
#
#   Start tag: required, End tag: optional

The only thing is that XHTML requires all close tags (including empty ones,
like <hr>, that should be written <br />.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/links-list/attachments/20020105/9ead1e9a/attachment.sig>


More information about the links-list mailing list