##// END OF EJS Templates
Backport PR #6653: Fix IPython.utils.ansispan() to ignore stray [0m...
Backport PR #6653: Fix IPython.utils.ansispan() to ignore stray [0m Previously, `IPython.utils.fixConsole("\033[0m")` (I use `fixConsole()` because `ansispan()` is private) gave `"</span>"`. I also changed `ansiyellow` to something that looks actually yellow (but still dark). I'm submitting this to `master`, but it would be good to backport this to 2.x (whatever the procedure is).

File last commit:

r12513:6b68269f
r20381:96f47674
Show More
__init__.py
8 lines | 185 B | text/x-python | PythonLexer
from .base import PostProcessorBase
from .pdf import PDFPostProcessor
# protect against unavailable tornado
try:
from .serve import ServePostProcessor
except ImportError:
pass