Enable nl2br
This commit is contained in:
parent
ec518b23e7
commit
539286d85b
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue