use prism-tomorrow.css
This commit is contained in:
53
docs/_style/prism-master/tests/languages/jsx/issue1342.test
Normal file
53
docs/_style/prism-master/tests/languages/jsx/issue1342.test
Normal file
@ -0,0 +1,53 @@
|
||||
<CodeView title={<span title={123}>2</span>}>for of as</CodeView>
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
["class-name", "CodeView"]
|
||||
]],
|
||||
["attr-name", ["title"]],
|
||||
["script", [
|
||||
["script-punctuation", "="],
|
||||
["punctuation", "{"],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"span"
|
||||
]],
|
||||
["attr-name", ["title"]],
|
||||
["script", [
|
||||
["script-punctuation", "="],
|
||||
["punctuation", "{"],
|
||||
["number", "123"],
|
||||
["punctuation", "}"]
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["plain-text", "2"],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"span"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["punctuation", "}"]
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["plain-text", "for of as"],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
["class-name", "CodeView"]
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for nested tag with JSX inside another tag with JSX. See #1342
|
Reference in New Issue
Block a user