mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #4175 from Striffly/patch-2
Support PDF variables with UTF-8 characters
This commit is contained in:
commit
f1042b1079
@ -161,7 +161,7 @@ trait PdfMakerUtilities
|
|||||||
|
|
||||||
$html = strtr($html, $variables['values']);
|
$html = strtr($html, $variables['values']);
|
||||||
|
|
||||||
@$this->document->loadHTML($html);
|
@$this->document->loadHTML(mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'));
|
||||||
|
|
||||||
$this->document->saveHTML();
|
$this->document->saveHTML();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user