We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ec2447 commit 30d0268Copy full SHA for 30d0268
src/dom/elements/link.ts
@@ -19,6 +19,7 @@ const SAFE_URL_REL_VALUES = [
19
'help',
20
'icon',
21
'license',
22
+ 'modulepreload',
23
'next',
24
'prefetch',
25
'dns-prefetch',
test/restricted/legacy_test.ts
@@ -1,6 +1,8 @@
1
-// prettier-ignore
+// clang-format off
2
import {legacyUnsafeHtml} from '../../src/restricted/legacy';
3
4
+// clang-format on
5
+
6
describe('legacy conversions', () => {
7
it('safe HTML conversion with no options', () => {
8
expect(
0 commit comments