CS-Notes/docs/_style/prism-master/tests/languages/markup/issue585.test

63 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-12-19 14:09:39 +08:00
<Läufer>foo</Läufer>
<tag läufer="läufer">
<läufer:tag>baz</läufer:tag>
----------------------------------------------------
[
["tag", [
["tag", [
["punctuation", "<"],
"Läufer"
]],
["punctuation", ">"]
]],
"foo",
["tag", [
["tag", [
["punctuation", "</"],
"Läufer"
]],
["punctuation", ">"]
]],
["tag", [
["tag", [
["punctuation", "<"],
"tag"
]],
["attr-name", [
"läufer"
]],
["attr-value", [
["punctuation", "="],
["punctuation", "\""],
"läufer",
["punctuation", "\""]
]],
["punctuation", ">"]
]],
["tag", [
["tag", [
["punctuation", "<"],
["namespace", "läufer:"],
"tag"
]],
["punctuation", ">"]
]],
"baz",
["tag", [
["tag", [
["punctuation", "</"],
["namespace", "läufer:"],
"tag"
]],
["punctuation", ">"]
]]
]
----------------------------------------------------
Checks for tags, attributes and namespaces containing unicode characters.
See #585 for details.