We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We'd like to add the ability to add custom attributes to rendered <style> tags; similar to #20087
<style>
This is to allow CSP nonces to be added to <style> tags, as they currently are for <script> tags.
<script>
Html::style('.class { display:none; }')
Outputs
<style> .class { display:none; } </style>
need an attribute to tag style for content security policy (csp)
<style nonce="key"> .class { display:none; } </style>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We'd like to add the ability to add custom attributes to rendered
<style>
tags; similar to #20087This is to allow CSP nonces to be added to
<style>
tags, as they currently are for<script>
tags.What steps will reproduce the problem?
Outputs
What is the expected result?
need an attribute to tag style for content security policy (csp)
What do you get instead?
Additional info
The text was updated successfully, but these errors were encountered: