ipython/ipython — Issue #879: Javascript inclusions in HTML() calls wedge the notebook
Author: fperez
Created: 2011-10-15 02:30:04+00:00
State: open
Labels: htmlnotebook

I'm not sure exactly what we can do about this, or how to best go about it... I was trying to get some Javascript examples working in the notebook for a demo, and found out that this simple cell, once executed, will completely wedge the notebook:

from IPython.core.display import HTML
src = """

Simple Test

Hello World.

"""
HTML(src)

The problem is the loading of jquery.js in the header, if I remove that line there's no problem.

I'm not sure this is even really a bug on our side, I just don't know enough about JS. But I can see users trying this kind of thing easily when looking for more interactive elements in the notebook.