[Zope] cr/lf causing spaces
Cary O'Brien
cobrien@Radix.Net
Mon, 10 Jul 2000 07:09:27 -0400 (EDT)
> On Sun, 9 Jul 2000, Ben Leslie wrote:
>
> > > One of my "favorite" issues with win/DOS has always been its use of CR+LF
> > > combinations. Why? Because all browsers interpret the thing as a SPACE.
> >
> > AFAIK this is an HTML thing, not a win/DOS thing. The HTML spec treats any
> > whitespace as a space.
>
> Well unix uses only cr by default, and browsers do not interpret that as a
> whitespace.
>
I'm sure you meant to type 'uses only lf by default'. The standard unix text separator
is the newline, 0x0A, often shown as \n. Not cr, 0x0D, often shown as \r.
-- cary
> > > Or is there already a way to avoid this?
> > I ran into the same problem (using Linux), and there isn't really anyway to
> > get around it, apart from having un-nicely formatted DTML source.
>
> Maybe a problem with the way the textarea editor netscape etc work.
>
>
>
> Nils
>
>
> --__--__--
>