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