diff --git a/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php b/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php index 69be963e36..b1f70f44f3 100644 --- a/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php +++ b/app/Services/PdfMaker/Designs/Utilities/DesignHelpers.php @@ -321,6 +321,9 @@ document.addEventListener('DOMContentLoaded', function() { public static function parseMarkdownToHtml(string $markdown): ?string { + // Use setting to determinate if parsing should be done. + // 'parse_markdown_on_pdfs' + $converter = new CommonMarkConverter([ 'allow_unsafe_links' => false, ]);