Problem with quotes
Opened this issue · 0 comments
devilankur18 commented
I am using the tornado server as mentioned in the readme. I got stuck in the following problem. The quotes get substitute with " inside script tag. Any suggestions on how to solve the problem ?
<html><head></head>
<body><script type="text/javascript">
window.name = "{\"status\": \"ok\", \"data\": \"foobar\"}";
Uncaught SyntaxError: Unexpected token &
location.href = "http://localhost:8000/janky";
</script></body></html>