Bugs item #655531, was opened at 2002-12-17 19:33 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=655531&group_id=4866
Category: PSP Group: None Status: Open Resolution: None Priority: 5 Submitted By: Fazal Majid (majid) Assigned to: Nobody/Anonymous (nobody) Summary: JavaScript string escapes are unescaped Initial Comment: If I take the following PSP: <html> <script language="JavaScript"> var foo = "hello, world\n"; ... </script> ... </html> The backslash in the JavaScript \n literal is not escaped in the Python string embedded in the servlet (unlike the double quote), and is expanded by Python when the servlet is called, thus breaking the JavaScript, with the following result: <html> <script language="JavaScript"> var foo = "hello, world "; ... </script> ... </html> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=655531&group_id=4866 ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel