From 86f38a8f3b70b535ccff2e68bf1b2069aafa46b7 Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Tue, 29 Jul 2014 16:24:53 -0700 Subject: [PATCH] call unrender() when setting text of cells --- IPython/html/static/notebook/js/textcell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/static/notebook/js/textcell.js b/IPython/html/static/notebook/js/textcell.js index 95be52c08..2f44bfdba 100644 --- a/IPython/html/static/notebook/js/textcell.js +++ b/IPython/html/static/notebook/js/textcell.js @@ -164,8 +164,8 @@ define([ * */ TextCell.prototype.set_text = function(text) { this.code_mirror.setValue(text); + this.unrender(); this.code_mirror.refresh(); - this.rendered = false; }; /**