CS-Notes/docs/_style/prism-master/tests/languages/jsx/issue1356.test

32 lines
568 B
Plaintext
Raw Normal View History

2018-12-19 14:09:39 +08:00
<a href="//localhost">link</a>
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
"a"
]],
["attr-name", ["href"]],
["attr-value", [
["punctuation", "="],
["punctuation", "\""],
"//localhost",
["punctuation", "\""]
]],
["punctuation", ">"]
]],
["plain-text", "link"],
["tag", [
["tag", [
["punctuation", "</"],
"a"
]],
["punctuation", ">"]
]]
]
----------------------------------------------------
Checks for tags containing "//". See #1356.