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

CSP prevents inline and embedded styles #124

Open
teleclimber opened this issue Apr 10, 2024 · 0 comments
Open

CSP prevents inline and embedded styles #124

teleclimber opened this issue Apr 10, 2024 · 0 comments
Labels
discussion Issue requires discussion to determine next steps

Comments

@teleclimber
Copy link
Owner

The CSP is too strict.

<p style="background-color: aqua;">...
<!DOCTYPE html>
<html>
	<head>
		<style type="text/css" media="screen">
			body {
				background-color: red;
			}
...

Both the above in an HTML document returned by the sandbox cause CSP errors in concole and are not applied.

@teleclimber teleclimber added the discussion Issue requires discussion to determine next steps label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Issue requires discussion to determine next steps
Projects
None yet
Development

No branches or pull requests

1 participant