diff --git a/app/Services/PdfMaker/Design.php b/app/Services/PdfMaker/Design.php index 82acdda7a30a..5cac77a073b1 100644 --- a/app/Services/PdfMaker/Design.php +++ b/app/Services/PdfMaker/Design.php @@ -348,7 +348,7 @@ class Design extends BaseDesign $items = $this->transformLineItems($this->entity->line_items, $type); - // $this->processMarkdownOnLineItems($items); + $this->processMarkdownOnLineItems($items); if (count($items) == 0) { return []; diff --git a/app/Services/PdfMaker/PdfMakerUtilities.php b/app/Services/PdfMaker/PdfMakerUtilities.php index ba8709cdafa2..e437b5ad1e8b 100644 --- a/app/Services/PdfMaker/PdfMakerUtilities.php +++ b/app/Services/PdfMaker/PdfMakerUtilities.php @@ -95,7 +95,7 @@ trait PdfMakerUtilities $child['content'] = $this->commonmark->convertToHtml($child['content'] ?? ''); } - $child['content'] = array_key_exists('content', $child) ? nl2br($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) {