Skip to content

Commit

Permalink
Merge pull request #429 from daveaglick/master
Browse files Browse the repository at this point in the history
Uses an empty text node instead of a string for svg group labels
  • Loading branch information
knsv authored Dec 10, 2016
2 parents 4984f9e + 0187407 commit a3fa318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/diagrams/flowchart/flowRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ exports.addVertices = function (vert, g) {
break;
case 'group':
_shape = 'rect';
verticeText = '';
// Need to create a text node if using svg labels, see #367
verticeText = conf.htmlLabels ? '' : document.createElementNS('http://www.w3.org/2000/svg', 'text');
break;
default:
_shape = 'rect';
Expand Down

0 comments on commit a3fa318

Please # to comment.