CS-Notes/docs/_style/prism-master/tests/languages/jsx/issue1235.test
2018-12-19 14:09:39 +08:00

30 lines
592 B
Java

<Child options={{ track: true }}>
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
["class-name", "Child"]
]],
["attr-name", ["options"]],
["script", [
["script-punctuation", "="],
["punctuation", "{"],
["punctuation", "{"],
" track",
["punctuation", ":"],
["boolean", "true"],
["punctuation", "}"],
["punctuation", "}"]
]],
["punctuation", ">"]
]]
]
----------------------------------------------------
Checks that attribute can contain an simple object.
See #1235.