W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: Suggested bug fix: Ignore line breaks in URL attributes

From: Dave Raggett <dsr@w3.org>
Date: Fri, 24 Mar 2000 11:45:32 -0600
To: Randy Waki <rwaki@flipdog.com>
Cc: html-tidy@w3.org
Message-ID: <OF868F6827.72D90D30-ON86256865.006D5974@rfdinc.com>

On Thu, 13 Jan 2000, Randy Waki wrote:

> If a quoted URL attribute value (e.g., href in <a> elements)
> contains a line break, 13-Jan-2000 Tidy changes the line break
> to a space while IE and Netscape discard the line break.  This
> can result in a broken link in the tidied document.

Thanks for the input and the patch. The SGML and XML specs
require the newline to be interpreted as a space, but then
that's just one more example where the browsers depart from
theory. I guess this fix is ok if limited to href and src.


-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Friday, 24 March 2000 13:14:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC