mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-13 12:29:42 +02:00
fix: Assign proper namespaces to foreignObject children
This commit is contained in:
@@ -532,7 +532,7 @@ const _drawTextCandidateFunc = (function() {
|
|||||||
.attr('height', height);
|
.attr('height', height);
|
||||||
|
|
||||||
const text = f
|
const text = f
|
||||||
.append('div')
|
.append('xhtml:div')
|
||||||
.style('display', 'table')
|
.style('display', 'table')
|
||||||
.style('height', '100%')
|
.style('height', '100%')
|
||||||
.style('width', '100%');
|
.style('width', '100%');
|
||||||
|
@@ -370,7 +370,7 @@ const _drawTextCandidateFunc = (function() {
|
|||||||
.attr('position', 'fixed');
|
.attr('position', 'fixed');
|
||||||
|
|
||||||
const text = f
|
const text = f
|
||||||
.append('div')
|
.append('xhtml:div')
|
||||||
.style('display', 'table')
|
.style('display', 'table')
|
||||||
.style('height', '100%')
|
.style('height', '100%')
|
||||||
.style('width', '100%');
|
.style('width', '100%');
|
||||||
|
Reference in New Issue
Block a user