Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fforw
on Dec 28, 2012
|
parent
|
context
|
favorite
| on:
Json ⊄ js
The </script> issue is why JSON and Javascript both allow you to escape the slash character with a backslash.
So just going <\/script> is enough.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So just going <\/script> is enough.