mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-22 01:17:42 +02:00
SVGRenderer: Set correct input encoding
fixes #4462 (cherry picked from commit 7b9cb7f9fb4a09693839e34471b7296cb80ec8c0)
This commit is contained in:
parent
f07283e8b2
commit
c1a378c75c
@ -233,6 +233,7 @@ class SVGRenderer
|
||||
$this->addAriaDescription($this->svg, $this->ariaTitle, $this->ariaDescription);
|
||||
$this->svg->appendChild($this->rootCanvas->toSvg($ctx));
|
||||
$this->document->formatOutput = true;
|
||||
$this->document->encoding = 'UTF-8';
|
||||
return $this->document->saveXML();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user