Missing blank in a text node after validation using JTIDY

Hi guy,


I am new in this list and i use JTidy API (the java version of tidy). I noticed
a bug, and i don't know if someone got the same problem. When for instance
i have the following HTML code :

....
<tr>
  <td> 
  <font>This is a</font>
  <font> text</font>
  
  </td>
  <td> test 3 </td>
  <td> test 2 </td>
 </tr>
....


After the JTIDY Validation i will have :

....
<tr>
<td><font>This is a</font> <font>text</font> </td>
<td>test 3</td>
<td>test 2</td>
</tr>
....

My problem is that inside the seconde <font> node the text
start with a blank which disappear after the validation.

If anyone know how i could fix the pb..?

Thanx a lot


CHeers 

nicolas

Received on Wednesday, 27 February 2002 11:43:52 UTC