parent
a4376cd14f
commit
7b9cb7f9fb
|
@ -233,6 +233,7 @@ class SVGRenderer
|
||||||
$this->addAriaDescription($this->svg, $this->ariaTitle, $this->ariaDescription);
|
$this->addAriaDescription($this->svg, $this->ariaTitle, $this->ariaDescription);
|
||||||
$this->svg->appendChild($this->rootCanvas->toSvg($ctx));
|
$this->svg->appendChild($this->rootCanvas->toSvg($ctx));
|
||||||
$this->document->formatOutput = true;
|
$this->document->formatOutput = true;
|
||||||
|
$this->document->encoding = 'UTF-8';
|
||||||
return $this->document->saveXML();
|
return $this->document->saveXML();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue