1
0
Fork 0

chore: Added more unittests for patterns

This commit is contained in:
Joost De Cock 2020-03-15 16:34:56 +01:00
parent 13c4cbd779
commit 926e921582
39 changed files with 818 additions and 6 deletions

View file

@ -182,7 +182,7 @@ Svg.prototype.renderPathText = function(path) {
let svg = this.nl() + '<text>'
this.indent()
svg += `<textPath xlink:href="#${path.attributes.get('id')}" ${offset}><tspan ${attributes}>${
this.escapteText(this.text)
this.escapeText(this.text)
}</tspan></textPath>`
this.outdent()
svg += this.nl() + '</text>'