[Zope] cr/lf causing spaces

Ben Leslie benno@sesgroup.net
Sun, 9 Jul 2000 11:07:54 +1000


> 
> Hello Folks,
> 
> 
> 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.

> Would it be possible for Zope (which has to parse the dtml files etc
> anyway) to convert cr+lf to plain cr?
> 
> The problem I have currently is that if I format my dtml source nice and
> orderly, I end up having spaces in my Output where I don't want any...
> 
> 
> 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.

Benno