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

feat(@angular-devkit/build-angular): add CSP support for inline styles #24880

Merged
merged 1 commit into from
Mar 20, 2023

Commits on Mar 20, 2023

  1. feat(@angular-devkit/build-angular): add CSP support for inline styles

    Companion change to angular/angular#49444. Adds an HTML processor that finds the `ngCspNonce` attribute and copies its value to any inline `style` tags in the HTML. The processor runs late in the processing pipeline in order to pick up any `style` tag that might've been added by other processors (e.g. critical CSS).
    crisbeto committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    9c7f155 View commit details
    Browse the repository at this point in the history