29 lines
565 B
Java
29 lines
565 B
Java
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. |