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

Feature Request: Allow whitelisting of HTML tags as a server configuration #2614

Open
jason-s opened this issue Jun 28, 2017 · 0 comments
Open

Comments

@jason-s
Copy link

jason-s commented Jun 28, 2017

https://github.com/jupyter/notebook/blob/master/notebook/static/base/js/security.js#L79

Looks like HTML tags are sanitized regardless of whether a notebook is trusted or not.

I run jupyter on my local machine and it is a private instance. I want to whitelist <iframe> and <object> tags so I can display external HTML files and SVG images (with external CSS stylesheets). Can't do it right now without monkeypatching security.js; it would be nice to make this a configurable option.

for example: https://github.com/google/caja/wiki/CajaWhitelists

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