jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/wiki/nowiki_feature.test

63 lines
1.0 KiB
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
<nowiki>{{foo}} ''bar'' <baz></nowiki>
<source>{{foo}} ''bar'' <baz></source>
<pre>{{foo}} ''bar'' <baz></pre>
----------------------------------------------------
[
["nowiki", [
["tag", [
["tag", [
["punctuation", "<"],
"nowiki"
]],
["punctuation", ">"]
]],
"{{foo}} ''bar'' <baz>",
["tag", [
["tag", [
["punctuation", "</"],
"nowiki"
]],
["punctuation", ">"]
]]
]],
["nowiki", [
["tag", [
["tag", [
["punctuation", "<"],
"source"
]],
["punctuation", ">"]
]],
"{{foo}} ''bar'' <baz>",
["tag", [
["tag", [
["punctuation", "</"],
"source"
]],
["punctuation", ">"]
]]
]],
["nowiki", [
["tag", [
["tag", [
["punctuation", "<"],
"pre"
]],
["punctuation", ">"]
]],
"{{foo}} ''bar'' <baz>",
["tag", [
["tag", [
["punctuation", "</"],
"pre"
]],
["punctuation", ">"]
]]
]]
]
----------------------------------------------------
Checks that no highlighting is done inside <nowiki>, <pre> and <source> tags.