How to fix this

Hi,
I have the following scenario.
Tidy is closing the </span> tag before the <ul> tag.
Any Ideas...
I am using the tidy for java and built the latest version from cvs.


My input to tidy is,

<p><span class="subHeader">Related Help topic</span>
  <span class="noVSpace">
   <ul>
    <li><a href="payfees.html">Invoicing and Payments: Overview</a></li>

   </ul>
  </span>
  </p>

And the output is,

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<p><span class="subHeader">Related Help topic</span>
<span class="noVSpace"></span></p>

<ul>
<li><a href="payfees.html">Invoicing and Payments:
Overview</a></li>
</ul>

<br>
<br>
</body>
</html>

Received on Wednesday, 31 July 2002 04:33:15 UTC