W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Re: modifying tidy's wrap behavior

From: Jeff Hennick <jhennick@delphi.com>
Date: Fri, 28 Jul 2000 10:06:30 -0400
Message-Id: <>
To: html-tidy@w3.org
Peter Evans  writes:
> > <img
> > src="foo.gif">this-string-should-stay-adjacent-to-gif--nospace-allowed
>[which is "tidied" as:]
> > <img src="foo.gif">
> > this-string-should-stay-adjacent-to-gif--nospace-allowed
> > This introduces a space between the graphic and the text, and that
> > space ruins the logical formula which we are attempting to display.
>That sounds to me like a browser bug; but let's not quibble and instead
>accept that you don't want the line break.

The browser does right, interpreting the end-of-line as white-space and 
displaying it as a space.

I have a similar "problem" with Tidy when changing font size/weight between 
words.  Where Tidy puts the <span ...> tag (or whatever) relative to its 
adjacent space does matter, as the size of that space changes with which 
font it is associated with.  Tidy, quite understandably, does not 
"remember" which side of the space the tag was on.

Jeff Hennick
Received on Friday, 28 July 2000 10:06:57 UTC

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