29 lines
565 B
Plaintext
29 lines
565 B
Plaintext
var myDivElement = <div foo="bar baz" />;
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["keyword", "var"],
|
|
" myDivElement ",
|
|
["operator", "="],
|
|
["tag", [
|
|
["tag", [
|
|
["punctuation", "<"],
|
|
"div"
|
|
]],
|
|
["attr-name", ["foo"]],
|
|
["attr-value", [
|
|
["punctuation", "="],
|
|
["punctuation", "\""],
|
|
"bar baz",
|
|
["punctuation", "\""]
|
|
]],
|
|
["punctuation", "/>"]
|
|
]],
|
|
["punctuation", ";"]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks that quoted attribute values can contain spaces.
|
|
See #1103. |