Line Terminators (and others) normalization in template strings

Brendan Eich brendan at mozilla.com
Thu Sep 26 11:31:04 PDT 2013


> Anne van Kesteren <mailto:annevk at annevk.nl>
> 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


More information about the es-discuss mailing list