[IPython-dev] is markdown broken in latest ipython?

Zoltán Vörös zvoros at gmail.com
Sun May 12 02:31:02 EDT 2013


Hi all,

I have just pulled the master branch from git, and it seems to me that 
markdown rendering is broken. I used to have a short piece of script at 
the beginning of my notebooks, so that I can hide various fields.

<script type="text/javascript">
     show=true;
     function toggle(){
         if (show){
             $('div.input').hide();
         }else{
             $('div.input').show();
         }
         show = !show
     }
</script>
<a href="javascript:toggle()" target="_self">toggle input</a>

Now, this returns the error

Error rendering Markdown!
SyntaxError: Unexpected token &

and the content is not rendered. (What makes the situation even weirder 
is the fact that there is no ampersand in the code.) I was wondering 
whether others have encountered the same problem, and whether there is a 
fix for it.

Cheers,
Zoltán
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130512/5fb3f665/attachment.html>


More information about the IPython-dev mailing list