ipython/ipython — Issue #1205: notebook stores HTML escaped text in the file
Author: minrk
Created: 2011-12-24 17:49:07+00:00
State: open
Labels: htmlnotebook, prio-high, status-active, type-bug

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:

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

In []: |

```

Is stored in the ipynb as:

```json

{
"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.