CS-Notes/docs/_style/prism-master/tests/languages/javascript/issue1397.test
2018-12-19 14:09:39 +08:00

21 lines
426 B
Java

`${`a string`}`
----------------------------------------------------
[
["template-string", [
["string", "`"],
["interpolation", [
["interpolation-punctuation", "${"],
["template-string", [
["string", "`a string`"]
]],
["interpolation-punctuation", "}"]
]],
["string", "`"]
]]
]
----------------------------------------------------
Checks for nested template strings. See #1397