Hash :
c8844286
Author :
Date :
2019-07-21T22:59:46
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 38 39 40 41 42 43
<script>
let str = `
<style>
.foo { color: blue; }
</style>
`;
</script>
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
"script"
]],
["punctuation", ">"]
]],
["script", [
["language-javascript", [
["keyword", "let"],
" str ",
["operator", "="],
["template-string", [
["template-punctuation", "`"],
["string", "\r\n\t\t<style>\r\n\t\t\t.foo { color: blue; }\r\n\t\t</style>\r\n\t"],
["template-punctuation", "`"]
]],
["punctuation", ";"]
]]
]],
["tag", [
["tag", [
["punctuation", "</"],
"script"
]],
["punctuation", ">"]
]]
]
----------------------------------------------------
Checks for Javascript usage inside Markup, using <script> tags.