NIFI-10594 Render empty lines in Labels

This closes #6519

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
Denes Arvay 2022-10-12 21:18:30 +02:00 committed by exceptionfactory
parent 3d1bf497a3
commit 3ed87a2982
No known key found for this signature in database
GPG Key ID: 29B6A52D2AAE8DBA
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@
.attr('x', '0.4em')
.attr('dy', '1.2em')
.text(function () {
return line;
return line == "" ? " " : line;
})
.style('fill', function (d) {
return nfCommon.determineContrastColor(