obscure problem using elementtree to make xhtml website

Stefan Behnel stefan_ml at behnel.de
Thu Sep 3 15:09:22 EDT 2009


Lee wrote:
> basically any tag that can
> have content in html you had better close the html way (<tag></tag>),
> or IE will see it as unclosed and will not display the rest of the
> page after the tag (or do something else unexpected). Not a bug in IE
> (this time), which is correctly parsing the file as html.

... which is obviously not the correct thing to do when it's XHTML.

Stefan



More information about the Python-list mailing list