W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

Problem with INPUT tags

From: CeBlanc@lyon-partdieu.sema.slb.com <CeBlanc@lyon-partdieu.sema.slb.com>
Date: Tue, 08 Apr 2003 13:59:44 +0200
To: html-tidy@w3.org
Message-id: <1B9D8A2F7E92D611967D009027D0897E2C9B4C@lyomes01.lyon.eur.slb.com>

I have a problem when I use JTidy for parsing an HTML file : Tidy tries to
add a </INPUT> tag for each <INPUT> one, but unfortunately not at the good
place... Here's an example :
This :
	<TD><INPUT name="login" type="text" size="20"></TD>

Becomes this after having been parsed :
		<INPUT name="login" type="text" size="20">
As you can see, Tidy does not put the INPUT closing tag immediately after
the opening tag and incorporates the next elements in the INPUT block, which
it shouldn't do.

Do you know how I can configure tidy for correcting this ? the simplest way
could be to close each <INPUT> tag with " />" instead of ">", but how can I
do this ?

Received on Tuesday, 8 April 2003 07:57:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:49 UTC