Tidy Error Report - Spaces around </code>

Dave Raggett,

Tidy changes the spacing around the </code>-tag.  This is important to me 
as the space width in normal, proportional spaced font is different, 
smaller, than that used in the monospaced font used for <code>.

Here is the original test file:
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" 
>"http://www.w3.org/TR/REC-html40/loose.dtd">
><html>
><head>
><!-- Test of Tidy -->
><title>
></title>
></head>
><body>
>The<code> if </code> statement. {Before Tidy, has both ==spaces== inside 
>the code tags}
></body>
></html>

And afterTidy:

><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" 
>"http://www.w3.org/TR/REC-html40/loose.dtd">
><html>
><head>
><meta name="generator" content="HTML Tidy, see www.w3.org"><!-- Test of 
>Tidy -->     {Puts its meta on comment line}
><title></title>
></head>
><body>
>The<code> if</code> statement. {After Tidy, does NOT have end ==space== 
>inside the code tags}
></body>
></html>

The same thing happens with </samp>, and is bad for me for the same reason.

This is using:  vers 13th January 2000

Also, should the inserted <meta>-tag and preexisting comment be on the same 
line?

Jeff Hennick
JHennick@Delphi.Com

Received on Friday, 7 April 2000 11:45:29 UTC