From a52cdca1e36be2db743d824abea173b86c041be5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 4 Jun 2021 13:26:32 +0200 Subject: [PATCH] Parse break lines inputs from user --- app/Services/PdfMaker/PdfMakerUtilities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/PdfMaker/PdfMakerUtilities.php b/app/Services/PdfMaker/PdfMakerUtilities.php index bc7df97a6136..d243669c326c 100644 --- a/app/Services/PdfMaker/PdfMakerUtilities.php +++ b/app/Services/PdfMaker/PdfMakerUtilities.php @@ -95,7 +95,7 @@ trait PdfMakerUtilities // Commented cause it keeps adding
at the end, if markdown parsing is turned on. // 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: