Skip to content

Commit

Permalink
(css) Add additional keywords (#3244)
Browse files Browse the repository at this point in the history
- Added `worker-src`, `unsafe-hashes`, `trusted-types`, and `manifest-src`
  • Loading branch information
ElijahPepe committed Jun 16, 2021
1 parent 8864400 commit d3b69ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Expand Up @@ -2,6 +2,7 @@

Grammars:

- add additional keywords to csp.js (#3244) [Elijah Conners][]
- fix(markdown) Images with empty alt or links with empty text (#3233) [Josh Goebel][]
- enh(powershell) added `pwsh` alias (#3236) [tebeco][]
- fix(r) fix bug highlighting examples in doc comments [Konrad Rudolph][]
Expand All @@ -14,6 +15,7 @@ Grammars:
[Stel Abrego]: https://github.com/stelcodes
[Josh Goebel]: https://github.com/joshgoebel
[Antoine Lambert]: https://github.com/anlambert
[Elijah Conners]: https://github.com/elijahepepe
[Angelika Tyborska]: https://github.com/angelikatyborska
[Konrad Rudolph]: https://github.com/klmr
[tebeco]: https://github.com/tebeco
Expand Down
6 changes: 5 additions & 1 deletion src/languages/csp.js
Expand Up @@ -19,13 +19,17 @@ export default function(hljs) {
"frame-ancestors",
"frame-src",
"img-src",
"manifest-src",
"media-src",
"object-src",
"plugin-types",
"report-uri",
"sandbox",
"script-src",
"style-src"
"style-src",
"trusted-types",
"unsafe-hashes",
"worker-src"
];
return {
name: 'CSP',
Expand Down

0 comments on commit d3b69ff

Please sign in to comment.