A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1205/ below:

notebook stores HTML escaped text in the file · Issue #1205 · ipython/ipython · GitHub

The notebook frontend escapes various plaintext things for HTML output, but it shouldn't save the transformed versions to files, which it does currently.

This code:

In [1]: u'hi'
Out[1]: u'hi'

In []: |

Is stored in the ipynb as:

    {
     "cell_type": "code", 
     "collapsed": false, 
     "input": [
      "u'hi'"
     ], 
     "language": "python", 
     "outputs": [
      {
       "output_type": "pyout", 
       "prompt_number": 1, 
       "text": [
        "u'hi'"
       ]
      }
     ], 
     "prompt_number": 1
    }, 
    {
     "cell_type": "code", 
     "collapsed": true, 
     "input": [], 
     "language": "python", 
     "outputs": [], 
     "prompt_number": " "
    }

There should be zero html escapes in .ipynb files outside explicit HTML fields.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4