diff --git a/modules/ve2/ce/nodes/ve.ce.TextNode.js b/modules/ve2/ce/nodes/ve.ce.TextNode.js index fd748ba6cf..4ea63905b7 100644 --- a/modules/ve2/ce/nodes/ve.ce.TextNode.js +++ b/modules/ve2/ce/nodes/ve.ce.TextNode.js @@ -190,7 +190,7 @@ ve.ce.TextNode.prototype.getOuterLength = function() { * * @method */ -ve.ce.LeafNode.prototype.render = function() { +ve.ce.TextNode.prototype.render = function() { var $new = $( $( '' + this.getHtml() + '' ).contents() ); this.$.replaceWith( $new ); this.$ = $new;