[NIFI-3876] trim whitespace processor names before applying ellipsis

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #1789.
This commit is contained in:
Scott Aslan 2017-05-12 09:28:24 -04:00 committed by Pierre Villard
parent dd0306cce7
commit 1c58e78ce9
1 changed files with 1 additions and 0 deletions

View File

@ -554,6 +554,7 @@
* @param {string} text
*/
ellipsis: function (selection, text) {
text = text.trim();
var width = parseInt(selection.attr('width'), 10);
var node = selection.node();