Re: Problem with custom HTML TAGS using HTML TIDY

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 UTC