Open kiliancs opened 1 year ago
Addresses #469.
Setting the style attribute on an element violates stricter CSP and requires a policy of style-src 'unsafe-inline'. Setting each style in the style property of the element resolves this issue.
style
style-src 'unsafe-inline'
A safe application with a strict CSP. See https://codesandbox.io/s/autumn-fast-n5p48h?file=/public/index.html and #469 for more details.
yarn test
Description
Addresses #469.
Setting the
style
attribute on an element violates stricter CSP and requires a policy ofstyle-src 'unsafe-inline'
. Setting each style in the style property of the element resolves this issue.Use case
A safe application with a strict CSP. See https://codesandbox.io/s/autumn-fast-n5p48h?file=/public/index.html and #469 for more details.
Type of change
Checklist
yarn test
)