Skip to content

Commit 6dbf0bf

Browse files
authored
Update README.md
1 parent b9dc72b commit 6dbf0bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The ES5 / ES6 builds can be loaded directly in the browsers. There are two varia
3333

3434
```html
3535
<!-- Full -->
36-
<script src="https://w3c.github.io/webappsec-trusted-types/dist/es5/trustedtypes.build.js" data-csp="trusted-types foo bar"></script>
36+
<script src="https://w3c.github.io/webappsec-trusted-types/dist/es5/trustedtypes.build.js" data-csp="trusted-types foo bar; enforce-trusted-types-for 'script'"></script>
3737
<script>
3838
trustedTypes.createPolicy('foo', ...);
3939
trustedTypes.createPolicy('unknown', ...); // throws

0 commit comments

Comments
 (0)