mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-12 20:09:46 +02:00
* fix #3184: Inject xlink in mermaidAPI. * fix static analysis
This commit is contained in:
@@ -313,6 +313,7 @@ const render = function (id, _txt, cb, container) {
|
||||
.attr('id', id)
|
||||
.attr('width', '100%')
|
||||
.attr('xmlns', 'http://www.w3.org/2000/svg')
|
||||
.attr('xmlns:xlink', 'http://www.w3.org/1999/xlink')
|
||||
.append('g');
|
||||
} else {
|
||||
// No container was provided
|
||||
|
Reference in New Issue
Block a user