diff --git a/notebook/static/notebook/js/outputarea.js b/notebook/static/notebook/js/outputarea.js index 161efc115..c3a42e21a 100644 --- a/notebook/static/notebook/js/outputarea.js +++ b/notebook/static/notebook/js/outputarea.js @@ -651,7 +651,7 @@ define([ var toinsert = this.create_output_subarea(md, "output_svg", type); // Get the svg element from within the HTML. - var svg = $('
').html(svg_html).find('svg'); + var svg = $('').html(svg_html); var svg_area = $('
'); var width = svg.attr('width'); var height = svg.attr('height');