Re: Small bug in LWP/Protocol/file.pm

Gisle Aas (aas@bergen.sn.no)
14 Jan 1997 12:37:19 +0100


Carey <c.evans@student.canterbury.ac.nz> writes:

> > What is the problem with multiple spaces and control characters?
> 
> It only affects the output.  HTML compresses multiple spaces to one,
> except in <PRE>.  It might even break the line on the space if the file
> name is long enough.  This could be fixed by replacing spaces with
> "&nbsp;" - I think most browsers support this now, as does
> HTML::FormatText.
> 
> I don't have the relevant standards to hand, but I don't think "&#7;",
> for example, is allowed in HTML.  I don't know what would be any better
> though - maybe ^G or "<EM>^G</EM>"?

I would not worry to much about this myself as long as the URL is
correct. If you come up with a patch for this problem I would be happy
to include it in the distribution.

-- 
Gisle Aas <aas@sn.no>