You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the usage of inline style inside var template, strict csp fails with inline style issue.
Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' data: https:". Either the 'unsafe-inline' keyword, a hash ('sha256-zMSqd3IdI0P85bMS1pHPulcrWrNFUbioxKEvO08Bg9I='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
CSP must not include "unsafe-inline" style tags to reproduce problem.
Solution Brainstorm
Extract <style> tag into seperate css file, which would outcome the issue.
The text was updated successfully, but these errors were encountered:
Problem Statement
Due to the usage of inline style inside var template, strict csp fails with inline style issue.
Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' data: https:". Either the 'unsafe-inline' keyword, a hash ('sha256-zMSqd3IdI0P85bMS1pHPulcrWrNFUbioxKEvO08Bg9I='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
CSP must not include "unsafe-inline" style tags to reproduce problem.
Solution Brainstorm
Extract <style> tag into seperate css file, which would outcome the issue.
The text was updated successfully, but these errors were encountered: