Support for nonce
attribute for inline style tags
#1834
Labels
Accepted
Changes have been accepted and will go in one of the next releases.
Milestone
Discussed in #1758
Originally posted by bcalou April 17, 2023
Hi and thanks for this great library :)
Would you welcome a PR adding support for the nonce attribute ?
This would allow to use Content-Security-Policy headers (see https://content-security-policy.com/unsafe-inline/). Currently we have to add the
unsafe-inline
header, which is considered, well, unsafe ;)Something like that:
The nonce value would then be added to the inline
style
tag.The text was updated successfully, but these errors were encountered: