1 | /**
|
2 | * Original by Scott Helme.
|
3 | *
|
4 | * Reference: https://scotthelme.co.uk/hpkp-cheat-sheet/
|
5 | */
|
6 |
|
7 | Prism.languages.hpkp = {
|
8 | 'directive': {
|
9 | pattern: /\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,
|
10 | alias: 'property'
|
11 | },
|
12 | 'operator': /=/,
|
13 | 'punctuation': /;/
|
14 | };
|