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

Remove the inline MathJax configuration #8

Closed
emichael opened this issue Mar 19, 2014 · 1 comment
Closed

Remove the inline MathJax configuration #8

emichael opened this issue Mar 19, 2014 · 1 comment
Labels

Comments

@emichael
Copy link
Owner

As mentioned in mathjax/MathJax#256, the only time 'unsafe-inline' or 'unsafe-eval' are needed in the CSP for scripts is when there is inline MathJax configuration. As soon as the patch is released, upgrade the version of MathJax used in the extension, and remove the unsafe JavaScript option entirely.

@emichael
Copy link
Owner Author

Okay, I finally know how to do this. I simply have to insert a the config into the properties of some node, and then use a JS script in the page's context to parse it and set the MathJax config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant