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: Thu, 13 Jan 2000 19:49:20 +0000 (GMT Standard Time)
To: Randy Waki <rwaki@flipdog.com>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10001131946550.836-100000@OEMCOMPUTER>
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 Thursday, 13 January 2000 14:49:24 UTC

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