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:
parent
f5d218197a
commit
c9334daa3f
@ -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,
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user