diff --git a/app/Support/Twig/General.php b/app/Support/Twig/General.php index bc73df316a..f1f31767f9 100644 --- a/app/Support/Twig/General.php +++ b/app/Support/Twig/General.php @@ -186,6 +186,7 @@ class General extends AbstractExtension $converter = new GithubFlavoredMarkdownConverter( [ 'allow_unsafe_links' => false, + 'max_nesting_level' => 5, 'html_input' => 'escape', ] );