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

Content Security Policy support #1

Open
pettazz opened this issue Oct 27, 2019 · 0 comments
Open

Content Security Policy support #1

pettazz opened this issue Oct 27, 2019 · 0 comments

Comments

@pettazz
Copy link
Member

pettazz commented Oct 27, 2019

A good CSP disallows inline styles, which is how we apply the per-page overrides. We should instead generate a unique css file for every invocation (add it to static files output) and output the relevant <link rel="stylesheet" src="..."> tag instead of a <style>.

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

No branches or pull requests

1 participant