diff options
Diffstat (limited to 'src/main/webapp/js/grapheditor/Actions.js')
-rw-r--r-- | src/main/webapp/js/grapheditor/Actions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/webapp/js/grapheditor/Actions.js b/src/main/webapp/js/grapheditor/Actions.js index f402fb76..a1d771dc 100644 --- a/src/main/webapp/js/grapheditor/Actions.js +++ b/src/main/webapp/js/grapheditor/Actions.js @@ -942,7 +942,7 @@ Actions.prototype.init = function() // Removes HTML tags var temp = document.createElement('div'); - temp.innerHTML = graph.sanitizeHtml(label); + temp.innerHTML = Graph.sanitizeHtml(label); label = mxUtils.extractTextWithWhitespace(temp.childNodes); graph.cellLabelChanged(state.cell, label); @@ -960,7 +960,7 @@ Actions.prototype.init = function() label = label.replace(/\n/g, '<br/>'); } - graph.cellLabelChanged(state.cell, graph.sanitizeHtml(label)); + graph.cellLabelChanged(state.cell, Graph.sanitizeHtml(label)); graph.setCellStyles('html', value, [cells[i]]); } } |