Fixes for xml encodings for templates when using protected/special characters such as & <> etc
This commit is contained in:
parent
3b8c0c9e18
commit
c2953578a8
|
|
@ -280,7 +280,7 @@ class TemplateService
|
||||||
*/
|
*/
|
||||||
public function getPdf(): string
|
public function getPdf(): string
|
||||||
{
|
{
|
||||||
nlog($this->compiled_html);
|
|
||||||
if (config('ninja.invoiceninja_hosted_pdf_generation') || config('ninja.pdf_generator') == 'hosted_ninja') {
|
if (config('ninja.invoiceninja_hosted_pdf_generation') || config('ninja.pdf_generator') == 'hosted_ninja') {
|
||||||
$pdf = (new NinjaPdf())->build($this->compiled_html);
|
$pdf = (new NinjaPdf())->build($this->compiled_html);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue