From 06c276b52a58a27d1b74337bd6f3f3871bdbe8a3 2014-02-28 22:38:29 From: MinRK Date: 2014-02-28 22:38:29 Subject: [PATCH] support extracted output in HTML template allows ipython nbconvert --to html --ExtractOutput.enabled=True to work properly without any b64-encoded data. --- diff --git a/IPython/nbconvert/templates/html/basic.tpl b/IPython/nbconvert/templates/html/basic.tpl index d1947db..8bc1b1a 100644 --- a/IPython/nbconvert/templates/html/basic.tpl +++ b/IPython/nbconvert/templates/html/basic.tpl @@ -113,7 +113,11 @@ unknown type {{ cell.type }} {%- endblock stream_stderr %} {% block data_svg -%} +{%- if output.svg_filename %} +