Tidy does (still) not omit end tag of html element

Hi,

HTML4 allows to omit the end tag of element <HTML> [1]. Tidy does not omit the
end tag when using the -o parameter.

Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<p>text</p>
</body>
</html>

Tidy's output is:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>

<body>
<p>text

</html>

[1] http://www.w3.org/TR/REC-html40/struct/global.html#edef-HTML

regards,

  Björn Höhrmann

Received on Tuesday, 19 October 1999 15:55:03 UTC