Skip to content

Commit 99df8cd

Browse files
ISE Hardeningcopybara-github
ISE Hardening
authored andcommitted
No public description
PiperOrigin-RevId: 596871498
1 parent 0ec2447 commit 99df8cd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/dom/elements/link.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const SAFE_URL_REL_VALUES = [
1919
'help',
2020
'icon',
2121
'license',
22+
'modulepreload',
2223
'next',
2324
'prefetch',
2425
'dns-prefetch',

test/restricted/legacy_test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
// prettier-ignore
1+
// clang-format off
22
import {legacyUnsafeHtml} from '../../src/restricted/legacy';
33

4+
// clang-format on
5+
46
describe('legacy conversions', () => {
57
it('safe HTML conversion with no options', () => {
68
expect(

0 commit comments

Comments
 (0)