That is _really_ ugly, and perhaps immoral. Make it an option, if you must. Certainly don't make it the default behavior.
Shudder.... Mark Post -----Original Message----- From: Hrvoje Niksic [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 4:59 PM To: Peter GILMAN Cc: [EMAIL PROTECTED] Subject: Re: problem with LF/CR etc. Peter GILMAN <[EMAIL PROTECTED]> writes: > i have run into a problem while using wget: when viewing a web page with > html like this: > > <a href="images/IMG_01 > .jpg"><img src="images/tnIMG_01 > .jpg"></a> Eek! Are people really doing that? This is news to me. > browsers (i tested with mozilla and IE) can handle the line breaks > in the urls (presumably stripping them out), but wget chokes on the > linefeeds and carriage returns; it inserts them into the urls, and > then (naturally) fails with a 404: [...] So, Wget should squash all newlines? It's not hard to implement, but it feels kind of ... unclean.