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

Re: modifying tidy's wrap behavior

From: Larry W. Virden <lvirden@cas.org>
Date: Fri, 28 Jul 2000 10:40:16 -0400 (EDT)
Message-Id: <0007281040.AA12676@cas.org>
To: html-tidy@w3.org

From: Jeff Hennick <jhennick@delphi.com>
>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.

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


It seems like, to me, that Tidy should NEVER insert any white space where it
matters; only where the white space doesn't matter.

-- 
Never apply a Star Trek solution to a Babylon 5 problem.
Larry W. Virden <mailto:lvirden@cas.org> <URL: http://www.purl.org/NET/lvirden/>
Unless explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-
Received on Friday, 28 July 2000 10:40:50 GMT

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