use prism-tomorrow.css
This commit is contained in:
29
docs/_style/prism-master/tests/languages/jsx/issue1103.test
Normal file
29
docs/_style/prism-master/tests/languages/jsx/issue1103.test
Normal file
@ -0,0 +1,29 @@
|
||||
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.
|
Reference in New Issue
Block a user