katoikia-app/web-ui/web-react/node_modules/prismjs/tests/languages/jsx/issue1235.test

29 lines
567 B
Plaintext
Raw Normal View History

2022-07-06 04:15:11 +00:00
<Child options={{ track: true }}>
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
"Child"
]],
["attr-name", ["options"]],
["script", [
["punctuation", "="],
["punctuation", "{"],
["punctuation", "{"],
" track",
["punctuation", ":"],
["boolean", "true"],
["punctuation", "}"],
["punctuation", "}"]
]],
["punctuation", ">"]
]]
]
----------------------------------------------------
Checks that attribute can contain an simple object.
See #1235.