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