W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

Missing blank in a text node after validation using JTIDY

From: Nicolas Martin <nicolas.martin@laposte.net>
Date: Wed, 27 Feb 2002 17:43:11 +0100
Message-ID: <039e01c1bfad$d83405e0$3b1510ac@lightobjects.com>
To: <html-tidy@w3.org>
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 :

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

After the JTIDY Validation i will have :

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

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


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:51 UTC