mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
add support for multiline text
This commit is contained in:
parent
3251efeb40
commit
16edac3738
@ -112,6 +112,10 @@ trait PdfMakerUtilities
|
||||
foreach ($children as $child) {
|
||||
$contains_html = false;
|
||||
|
||||
if (isset($child['content'])) {
|
||||
$child['content'] = nl2br($child['content']);
|
||||
}
|
||||
|
||||
// "/\/[a-z]*>/i" -> checks for HTML-like tags:
|
||||
// <my-tag></my-tag> => true
|
||||
// <my-tag /> => true
|
||||
|
Loading…
Reference in New Issue
Block a user