ipython/ipython — pull request #3136 by jfeser (2013-04-05 02:38:17+00:00)
Title: Strip useless ANSI escape codes in notebook

This fixes issue #2385.

ANSI color escape codes get handled specially by the notebook, but other kinds of codes just get printed out. Strip these codes out of the notebook output.