mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-19 12:14:07 +01:00
* fix #3184: Inject xlink in mermaidAPI. * fix static analysis
This commit is contained in:
@@ -69,7 +69,6 @@ export const draw = function (text, id) {
|
||||
|
||||
bounds.init();
|
||||
const diagram = root.select('#' + id);
|
||||
diagram.attr('xmlns:xlink', 'http://www.w3.org/1999/xlink');
|
||||
|
||||
svgDraw.initGraphics(diagram);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user