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
With v0.2.707, there was the introduction of adding nonce to the script tag. It would be perfect to add it for style tags as well since they also support nonce.
While inline styles are handy, they also allow some CSS injection if a hacker can inject an inline style into the HTML.
The text was updated successfully, but these errors were encountered:
maersu
changed the title
Add nonce support for style tags
Proposal: Add nonce support for style tags
Jun 14, 2024
Thanks for the awesome templ package!
With v0.2.707, there was the introduction of adding nonce to the script tag. It would be perfect to add it for style tags as well since they also support nonce.
While inline styles are handy, they also allow some CSS injection if a hacker can inject an inline style into the HTML.
The text was updated successfully, but these errors were encountered: