Parse break lines inputs from user

This commit is contained in:
Benjamin Beganović 2021-06-04 13:26:32 +02:00
parent bb45b5f55b
commit a52cdca1e3

View File

@ -95,7 +95,7 @@ trait PdfMakerUtilities
// Commented cause it keeps adding <br> at the end, if markdown parsing is turned on. // Commented cause it keeps adding <br> at the end, if markdown parsing is turned on.
// Should update with 'parse_markdown_on_pdfs' setting. // Should update with 'parse_markdown_on_pdfs' setting.
// $child['content'] = nl2br($child['content']); $child['content'] = nl2br($child['content']);
} }
// "/\/[a-z]*>/i" -> checks for HTML-like tags: // "/\/[a-z]*>/i" -> checks for HTML-like tags: