diff --git a/IPython/nbconvert/templates/latex/latex_base.tplx b/IPython/nbconvert/templates/latex/latex_base.tplx index 2c698c5..171795d 100644 --- a/IPython/nbconvert/templates/latex/latex_base.tplx +++ b/IPython/nbconvert/templates/latex/latex_base.tplx @@ -109,7 +109,7 @@ This template does not define a docclass, the inheriting class must define this. % Display stream ouput with coloring ((* block stream *)) \begin{Verbatim}[commandchars=\\\{\}] -((( output.text | ansi2latex ))) +((( output.text | escape_latex | ansi2latex ))) \end{Verbatim} ((* endblock stream *))