/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/tests/languages/parser/escape_feature.test
68 строк
968 B
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
^$ ^^ ^; ^@ ^( ^) ^[ ^] ^{ ^} ^" ^' ^: ^# ^#20 ^#af ^#AF ^^date::now ^$foobar <div class="foo^^bar"> ---------------------------------------------------- [ ["escape", "^$"], ["escape", "^^"], ["escape", "^;"], ["escape", "^@"], ["escape", "^("], ["escape", "^)"], ["escape", "^["], ["escape", "^]"], ["escape", "^{"], ["escape", "^}"], ["escape", "^\""], ["escape", "^'"], ["escape", "^:"], ["escape", "^#"], ["escape", "^#20"], ["escape", "^#af"], ["escape", "^#AF"], ["escape", "^^"], "date::now\r\n", ["escape", "^$"], "foobar\r\n\r\n", ["tag", [ ["tag", [ ["punctuation", "<"], "div" ]], ["attr-name", ["class"]], ["attr-value", [ ["punctuation", "="], ["punctuation", "\""], "foo", ["escape", "^^"], "bar", ["punctuation", "\""] ]], ["punctuation", ">"] ]] ] ---------------------------------------------------- Checks for escapes.