1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00

Note for settings-controlled parsing of markdown

This commit is contained in:
Benjamin Beganović 2021-05-31 13:47:22 +02:00
parent f5d218197a
commit c9334daa3f

View File

@ -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,
]);