mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #4258 from Striffly/patch-3
Support PDF design with UTF-8 characters
This commit is contained in:
commit
e3357b52f5
@ -22,7 +22,7 @@ trait PdfMakerUtilities
|
||||
$document = new DOMDocument();
|
||||
|
||||
$document->validateOnParse = true;
|
||||
@$document->loadHTML($this->design->html());
|
||||
@$document->loadHTML(mb_convert_encoding($this->design->html(), 'HTML-ENTITIES', 'UTF-8'));
|
||||
|
||||
$this->document = $document;
|
||||
$this->xpath = new DOMXPath($document);
|
||||
|
Loading…
x
Reference in New Issue
Block a user