[IPython-dev] Odd notebook file that can't be loaded.

Fernando Perez fperez.net@gmail....
Sun Jan 8 13:46:13 CST 2012


On Sun, Jan 8, 2012 at 11:41 AM, MinRK <benjaminrk@gmail.com> wrote:
> It shouldn't need to have anything to do with IPython - I think any
> error-raising javascript should be able to cause this problem:
>
> from IPython.core.display import HTML
> HTML('<script>a.b.c()</script>')

Correct.

> I don't know enough about javascript machinery to see a way to protect from
> this, but it should be possible.

Same here.  This is an area where if anyone on the list has solid
expertise, we'd love to have some hlep, BTW.  The core devs so far
haven't been 'javascript people', but here's an opportunity to really
help the project :)

Cheers,

f


More information about the IPython-dev mailing list