Fix foreignObject issue

This commit is contained in:
Tyler Long
2018-03-11 23:19:38 +08:00
parent 5b6dfb01a6
commit 5cf061cb32
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ function svgCreateDefs (svg) {
.attr('y', config.nodeLabel.y)
.attr('class', 'node-label')
.attr('requiredFeatures', 'http://www.w3.org/TR/SVG11/feature#Extensibility')
.append('xhtml:p')
.append('p')
.html('')
}