chore: Added more unittests for patterns
This commit is contained in:
parent
13c4cbd779
commit
926e921582
39 changed files with 818 additions and 6 deletions
|
@ -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>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue