Line Terminators (and others) normalization in template strings

Erik Arvidsson erik.arvidsson at
Thu Sep 26 11:43:31 PDT 2013

I vote for normalizing them too. It is less surprising and more
consistent with JS code.

If someone really needs them they can always escape them

On Thu, Sep 26, 2013 at 11:31 AM, Brendan Eich <brendan at> wrote:
>> Anne van Kesteren <mailto:annevk at>
>> September 26, 2013 5:41 AM
>> What Tab meant is that within the platform only CR and CRLF are
>> normalized to LF and no other code points. This is true for HTML as
>> well.
> This thread is to sort out the LINE and PARA seps. No one likes 'em. JSON
> missed them. They seem to me only useful for subtle
> line-numbering/source-hiding attacks. But ECMA-262 would be inconsistent to
> turn a blind eye toward them.
> Which consistency is greater, HTML or JS standard consistency?
> /be
> _______________________________________________
> es-discuss mailing list
> es-discuss at


More information about the es-discuss mailing list