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.
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.