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

26 lines
498 B
Java

<CodeView title={{}} />
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
["class-name", "CodeView"]
]],
["attr-name", ["title"]],
["script", [
["script-punctuation", "="],
["punctuation", "{"],
["punctuation", "{"],
["punctuation", "}"],
["punctuation", "}"]
]],
["punctuation", "/>"]
]]
]
----------------------------------------------------
Checks for empty objects in JSX. See #1364