mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
wip
This commit is contained in:
parent
7799b34346
commit
d44691c613
@ -137,7 +137,7 @@ trait PdfMakerUtilities
|
|||||||
|
|
||||||
$_child = $this->document->createElement($child['element'], '');
|
$_child = $this->document->createElement($child['element'], '');
|
||||||
$_child->setAttribute('data-state', 'encoded-html');
|
$_child->setAttribute('data-state', 'encoded-html');
|
||||||
$_child->nodeValue = $child['content'];
|
$_child->nodeValue = htmlspecialchars($child['content']);
|
||||||
} else {
|
} else {
|
||||||
// .. in case string doesn't contain any HTML, we'll just return
|
// .. in case string doesn't contain any HTML, we'll just return
|
||||||
// raw $content.
|
// raw $content.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user