You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest expanding this to include at least allow-popups allow-popups-to-escape-sandbox (in both cases above) to make it possible for links to work. I am happy to send a PR if this is an acceptable solution.
As an example, this link won't work (currently) when rendered by Jupyter. You'd have to explicitly open it in a new tab. (Of course, if target=_blank is missing, it doesn't work either).
When jupyter notebook renders html content, links don't work. This is unintuitive and confusing.
This is because of the strict sandbox/content security policy enabled on iframes.
See:
notebook/notebook/templates/view.html
Line 26 in 7de8df4
notebook/notebook/base/handlers.py
Lines 694 to 699 in 7de8df4
I suggest expanding this to include at least
allow-popups allow-popups-to-escape-sandbox
(in both cases above) to make it possible for links to work. I am happy to send a PR if this is an acceptable solution.Related issue with sandboxing: #3652
As an example, this link won't work (currently) when rendered by Jupyter. You'd have to explicitly open it in a new tab. (Of course, if
target=_blank
is missing, it doesn't work either).With the changes suggested above, at least links targeting new windows will work.
The text was updated successfully, but these errors were encountered: