From a98425e4b43881f03167b0be3ac1829b84e0f3f9 2014-02-21 20:57:06 From: MinRK Date: 2014-02-21 20:57:06 Subject: [PATCH] don't assume outputs have metadata in nbconvert some old notebooks do not have this key defined --- diff --git a/IPython/nbconvert/templates/html/basic.tpl b/IPython/nbconvert/templates/html/basic.tpl index 22647fb..9b8b76f 100644 --- a/IPython/nbconvert/templates/html/basic.tpl +++ b/IPython/nbconvert/templates/html/basic.tpl @@ -120,10 +120,10 @@ unknown type {{ cell.type }} {% block data_png %} @@ -131,10 +131,10 @@ height={{output.metadata['png']['height']}} {% block data_jpg %}