Skip to content

Add a CSP page #17744

@Rich-Harris

Description

@Rich-Harris

we should probably have a new page of the docs, perhaps under 'misc', detailing Svelte's CSP support:

  • this stuff
  • the fact that you can use trusted-types svelte-trusted-html if you need to use Trusted Types
  • relatedly, the fact that you can do {@html policy.createHTML(html)}

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions