ipython/ipython — pull request #981 by minrk (2011-11-09 20:29:59+00:00)
Title: Split likely multiline text when writing JSON notebooks

I did not increment the nbformat, because this is JSON-specific, and doesn't actually change the notebook data structure itself. Also, when loading a notebook multiline strings are only rejoined if they have been split, which means that all existing json notebooks are still perfectly valid after the change, but notebooks saved after the change will have split multiline blocks.

I was able to open/re-save all the example notebooks after making the change, and it seems to work just fine, and nbformat tests continue to pass without alteration.

So for now, it should play a bit nicer with VCS, while we can think further about a v3 format with separate output-caching, etc. as discussed on-list.