mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #4558 from beganovich/v5-support-for-linebreaks-on-pdf
(v5) Support for multiline text on PDF
This commit is contained in:
commit
a1c438a854
@ -111,6 +111,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user