jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/wiki/nowiki_feature.test
2016-02-03 18:00:01 -05:00

63 lines
1.0 KiB
Plaintext

<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.