Skip to content

Commit db049f9

Browse files
authored
Merge pull request #2119 from lishid/develop
fix: Assign proper namespaces to foreignObject children
2 parents c133595 + e065253 commit db049f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/diagrams/sequence/svgDraw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ const _drawTextCandidateFunc = (function() {
532532
.attr('height', height);
533533

534534
const text = f
535-
.append('div')
535+
.append('xhtml:div')
536536
.style('display', 'table')
537537
.style('height', '100%')
538538
.style('width', '100%');

src/diagrams/user-journey/svgDraw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ const _drawTextCandidateFunc = (function() {
372372
.attr('position', 'fixed');
373373

374374
const text = f
375-
.append('div')
375+
.append('xhtml:div')
376376
.style('display', 'table')
377377
.style('height', '100%')
378378
.style('width', '100%');

0 commit comments

Comments
 (0)