mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Enable nl2br
This commit is contained in:
parent
ec518b23e7
commit
539286d85b
@ -95,6 +95,8 @@ trait PdfMakerUtilities
|
||||
$child['content'] = $this->commonmark->convertToHtml($child['content'] ?? '');
|
||||
}
|
||||
|
||||
$child['content'] = array_key_exists('content', $child) ? nl2br($child['content']) : '';
|
||||
|
||||
if (isset($child['content'])) {
|
||||
if (isset($child['is_empty']) && $child['is_empty'] === true) {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user