On 2013/06/12 15:07:54, ihab.awad wrote:
Ah I understand now. Right. Given input where [U] stands for an
embedded Unicode
character:
var te[U]st = 1;
var x = 'te[U]st';
The resulting, indiscriminately escaped code will look something like:
var te\uFEFFst = 1;
var x = 'te\uFEFFst';
We would then throw a syntax error on the first line.
er, that isn't a syntax error. it's legal and does the right thing.
https://codereview.appspot.com/10205043/
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.