From 5ae42c2e35172f947e76c72e74fada1ba4ba68aa 2011-08-25 15:51:30 From: MinRK Date: 2011-08-25 15:51:30 Subject: [PATCH] use null char to start text cell placeholders --- diff --git a/IPython/frontend/html/notebook/static/js/textcell.js b/IPython/frontend/html/notebook/static/js/textcell.js index 036bcf6..4a24e53 100644 --- a/IPython/frontend/html/notebook/static/js/textcell.js +++ b/IPython/frontend/html/notebook/static/js/textcell.js @@ -15,7 +15,7 @@ var IPython = (function (IPython) { var TextCell = function (notebook) { this.code_mirror_mode = this.code_mirror_mode || 'htmlmixed'; - this.placeholder = this.placeholder || '𝄆'; + this.placeholder = this.placeholder || '\u0000'; IPython.Cell.apply(this, arguments); this.rendered = false; this.cell_type = this.cell_type || 'text'; @@ -159,7 +159,7 @@ var IPython = (function (IPython) { // HTMLCell var HTMLCell = function (notebook) { - this.placeholder = "𝄆 Type HTML and LaTeX: $\\alpha^2$"; + this.placeholder = "\u0000Type HTML and LaTeX: $\\alpha^2$"; IPython.TextCell.apply(this, arguments); this.cell_type = 'html'; }; @@ -184,7 +184,7 @@ var IPython = (function (IPython) { // MarkdownCell var MarkdownCell = function (notebook) { - this.placeholder = "𝄆 Type *Markdown* and LaTeX: $\\alpha^2$"; + this.placeholder = "\u0000Type *Markdown* and LaTeX: $\\alpha^2$"; IPython.TextCell.apply(this, arguments); this.cell_type = 'markdown'; }; @@ -222,7 +222,7 @@ var IPython = (function (IPython) { // RSTCell var RSTCell = function (notebook) { - this.placeholder = "𝄆 Type *ReStructured Text* and LaTeX: $\\alpha^2$"; + this.placeholder = "\u0000Type *ReStructured Text* and LaTeX: $\\alpha^2$"; IPython.TextCell.apply(this, arguments); this.cell_type = 'rst'; };