diff --git a/IPython/frontend/html/notebook/static/css/notebook.css b/IPython/frontend/html/notebook/static/css/notebook.css index adc5bff..4fa3196 100644 --- a/IPython/frontend/html/notebook/static/css/notebook.css +++ b/IPython/frontend/html/notebook/static/css/notebook.css @@ -389,6 +389,6 @@ pre, code, kbd, samp { white-space: pre-wrap; } font-family: monospace; } -.render-error { +.js-error { color: darkred; } \ No newline at end of file diff --git a/IPython/frontend/html/notebook/static/js/textcell.js b/IPython/frontend/html/notebook/static/js/textcell.js index 40a3950..2fca686 100644 --- a/IPython/frontend/html/notebook/static/js/textcell.js +++ b/IPython/frontend/html/notebook/static/js/textcell.js @@ -223,9 +223,9 @@ var IPython = (function (IPython) { try { this.set_rendered(html); } catch (e) { - console.log("Error rendering Markdown:"); + console.log("Error running Javascript in Markdown:"); console.log(e); - this.set_rendered($("
").addClass("render-error").html( + this.set_rendered($("
").addClass("js-error").html( "Error rendering Markdown!
" + e.toString()) ); }