From 5524115622108feb75dfc39ee9b07083a009f77c 2013-09-23 17:57:21 From: Jonathan Frederic Date: 2013-09-23 17:57:21 Subject: [PATCH] Application of PR #4181 --- diff --git a/IPython/nbconvert/templates/latex/latex_base.tplx b/IPython/nbconvert/templates/latex/latex_base.tplx index 171795d..3a3e715 100644 --- a/IPython/nbconvert/templates/latex/latex_base.tplx +++ b/IPython/nbconvert/templates/latex/latex_base.tplx @@ -158,7 +158,7 @@ This template does not define a docclass, the inheriting class must define this. ((* elif cell.level == 6 -*)) ((* block h6 -*))\\*\textit((* endblock h6 -*)) ((*- endif -*)) - {((( cell.source | citation2latex | escape_latex )))} + {((( cell.source | replace('\n', ' ') | citation2latex | escape_latex )))} ((* endblock headingcell *))