Hash :
7dc1e453
Author :
Date :
2017-12-05T08:58:11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
<script>
let str = `
<style>
.foo { color: blue; }
</style>
`;
</script>
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
"script"
]],
["punctuation", ">"]
]],
["script", [
["keyword", "let"],
" str ",
["operator", "="],
["template-string", [["string", "`\r\n\t\t<style>\r\n\t\t\t.foo { color: blue; }\r\n\t\t</style>\r\n\t`"]]],
["punctuation", ";"]
]],
["tag", [
["tag", [
["punctuation", "</"],
"script"
]],
["punctuation", ">"]
]]
]
----------------------------------------------------
Checks for Javascript usage inside Markup, using <script> tags.