W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: Problem with custom HTML TAGS using HTML TIDY

From: Dominic Jackson <dominic@wirestation.co.uk>
Date: Mon, 20 Nov 2000 11:14:34 -0500 (EST)
To: <html-tidy@w3.org>
Message-ID: <MCEBLJLHOLLOBFCICPNKIEJBCBAA.dominic@wirestation.co.uk>
OK, I've tried making our tags in-line, but this turns our input :-

////////////////////////////////////////////////////////////////////////////
////
<?xml version="1.0"?>

<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org" />
<title></title>
</head>

<body>
	<p>
		<b>
			<font face="Arial, Helvetica, sans-serif" size="-1">
				<heading style="background-colour:#8000FF">
					<b>Got an event this summer that needs a boost</b>
				</heading>
			</font>
		</b>
	</p>
</body>

</html>
////////////////////////////////////////////////////////////////////////////
////

into the following

////////////////////////////////////////////////////////////////////////////
////
<?xml version="1.0"?>

<html>
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org" />

    <title></title>
  </head>

  <body>
    <p><b><font face="Arial, Helvetica, sans-serif" size="-1"><heading
style="background-colour:#8000FF"><b><font
    face="Arial, Helvetica, sans-serif" size="-1"><b>Got an event this
summer that needs a
    boost</b></font></b></heading></font></b></p>
  </body>
</html>
////////////////////////////////////////////////////////////////////////////
////////

which obviously isn't especially desirable, as now the 'font' and 'b' tags
are getting applied a secone time within our new 'heading' tag.

Any ideas ?

Dom.
Received on Monday, 20 November 2000 11:16:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT