Skip to content

Instantly share code, notes, and snippets.

@jamur2
Forked from tam7t/parser-surprise.html
Last active August 29, 2015 14:24
Show Gist options
  • Save jamur2/86e92431cfc3e0aec855 to your computer and use it in GitHub Desktop.
Save jamur2/86e92431cfc3e0aec855 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>title</title>
<script>
var someHtmlString = "</script><script>alert('hi!');</script><script>";
</script>
</head>
<body>
<h1>this is a test</h1>
<p>did it work?</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment