summaryrefslogtreecommitdiff
path: root/live/static/hl/languages/csp.min.js
blob: 30d1db026e689e4fb0165669b66ae0b51c121bba (plain)
1
2
3
4
5
hljs.registerLanguage("csp",(()=>{"use strict";return e=>({name:"CSP",
case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",
keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"
},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",
begin:"^Content",end:":",excludeEnd:!0}]})})());