W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Stripping newlines from URI attributes

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 31 Jul 2009 15:29:05 +1200
Message-ID: <11e306600907302029y41264b89k1bcb9b3beff6a8e0@mail.gmail.com>
On Fri, Jul 31, 2009 at 1:34 PM, Alex Henrie <alexhenrie24 at gmail.com> wrote:

> RFC 3986, which is referenced in the Web addresses specification, states
> "In some cases, extra whitespace (spaces, line-breaks, tabs, etc.) may have
> to be added to break a long URI across lines. The whitespace should be
> ignored when the URI is extracted." Firefox's behavior appears to be
> consistent with this.

You may be observing that Gecko's line breaking algorithm is aware of URIs
and will break them across lines, but that doesn't change the DOM and is
unrelated to how we handle URIs which already have newlines in them.

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090731/6800556a/attachment.htm>
Received on Thursday, 30 July 2009 20:29:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC