From 590158168872dc87b928208097f4c7d4b3536e42 2014-03-06 23:01:48 From: Jonathan Frederic Date: 2014-03-06 23:01:48 Subject: [PATCH] s/extra_classes/extra_class --- diff --git a/IPython/nbconvert/templates/html/basic.tpl b/IPython/nbconvert/templates/html/basic.tpl index 47bb5f8..2ae70ce 100644 --- a/IPython/nbconvert/templates/html/basic.tpl +++ b/IPython/nbconvert/templates/html/basic.tpl @@ -87,11 +87,11 @@ unknown type {{ cell.type }} {% endblock unknowncell %} {% block pyout -%} -{%- set extra_classes=" output_pyout" -%} +{%- set extra_class="output_pyout" -%} {% block data_priority scoped %} {{ super() }} {% endblock %} -{%- set extra_classes="" -%} +{%- set extra_class="" -%} {%- endblock pyout %} {% block stream_stdout -%} @@ -111,7 +111,7 @@ unknown type {{ cell.type }} {%- endblock stream_stderr %} {% block data_svg scoped -%} -
+
{%- if output.svg_filename %} +
{{ output.html }}
{%- endblock data_html %} {% block data_png scoped %} -
+
{%- if output.png_filename %} +
{%- if output.jpeg_filename %} +
{{ output.latex }}
{%- endblock data_latex %} @@ -177,7 +177,7 @@ height={{output.metadata['jpeg']['height']}} {%- endblock traceback_line %} {%- block data_text scoped %} -
+
 {{ output.text | ansi2html }}
 
@@ -185,7 +185,7 @@ height={{output.metadata['jpeg']['height']}} {%- endblock -%} {%- block data_javascript scoped %} -
+