Update max nesting level for Markdown converter

Increased the max nesting level to 5 for better parsing.
This commit is contained in:
Jeroen De Meerleer 2024-06-11 15:04:15 +02:00
parent db06d06789
commit d831cc8df2
No known key found for this signature in database
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -186,6 +186,7 @@ class General extends AbstractExtension
$converter = new GithubFlavoredMarkdownConverter(
[
'allow_unsafe_links' => false,
'max_nesting_level' => 5,
'html_input' => 'escape',
]
);