update components

This commit is contained in:
Luke Pulverenti 2016-02-02 21:12:02 -05:00
parent 2a4b879c21
commit 63664e6c1c
1155 changed files with 62261 additions and 84 deletions

View file

@ -0,0 +1,38 @@
script alert(42);
script(type='text/javascript') alert(42);
----------------------------------------------------
[
["tag", [
"script"
]],
["script", [
["function", "alert"],
["punctuation", "("],
["number", "42"],
["punctuation", ")"],
["punctuation", ";"]
]],
["tag", [
"script",
["attributes", [
["punctuation", "("],
["attr-name", "type"],
["punctuation", "="],
["attr-value", [["string", "'text/javascript'"]]],
["punctuation", ")"]
]]
]],
["script", [
["function", "alert"],
["punctuation", "("],
["number", "42"],
["punctuation", ")"],
["punctuation", ";"]
]]
]
----------------------------------------------------
Checks for single-line scripts.