W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1997

Re: Alternate SGML.c module in wwwlib 5.0a...?

From: <S.N.Brodie@ecs.soton.ac.uk>
Date: Wed, 22 Jan 1997 11:30:08 +0000 (GMT)
Message-Id: <12399.9701221130@strachey.ecs.soton.ac.uk>
To: msa@hemuli.tte.vtt.fi
Cc: www-lib@www10.w3.org, msa@msa.tte.vtt.fi
Markku Savela wrote:
> 
> As it seems, that the standard semantics is defined by Netscape
> browser, and it didn`t have any problem dealing with such URL's, I
> have made patch to my version of SGML.c:
> 
> 	Any NUL, CR or LF characters, if they appear within single or
> 	double quoted attribute value strings, are ignored.

Hmm.  I've just tried this out and you're right.  This seems to me to mean
that if people go to the trouble of putting ALT attributes on img tags and
they have text split over an end-of-line sequence, the page author has to
remember to insert an extra space at the beginning of each line (or at the
end of the line provided their editor doesn't strip trailing spaces from
lines).

Internet Explorer seems to put in a line break in if it finds one in an
ALT attribute to IMG, but not when the attribute value is a URL such as
with an anchor's HREF.

I think that the IE approach is the better.  That's the approach my
browser takes too (so maybe I'm biased :-)

-- 
Stewart Brodie, Electronics & Computer Science, Southampton University.
http://www.ecs.soton.ac.uk/~snb94r/      http://delenn.ecs.soton.ac.uk/
Received on Wednesday, 22 January 1997 06:31:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:27 GMT