Skip to content
New issue

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

Only inject a single <style> tag #25

Merged
merged 4 commits into from
Jul 29, 2024

Conversation

codepunkt
Copy link
Contributor

Use a single style tag for all injected styles instead of using multiple.

This will come in handy on several occasions. One that I'm currently dealing with is creating sha256 hashes for every inline script and style tag for use in Content Security Policy.

@codepunkt
Copy link
Contributor Author

@rishi-raj-jain Let me know what you think 😎

@rishi-raj-jain
Copy link
Owner

Thank you so much 🤍

@rishi-raj-jain rishi-raj-jain merged commit 3c27a43 into rishi-raj-jain:master Jul 29, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants