mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-04 14:36:52 +00:00
Merge branch '2.x' into 3.x
* 2.x: Update markdown-to-html converter missing message Fix CS Missing Environment and LoaderInterface
This commit is contained in:
@@ -28,7 +28,7 @@ class DefaultMarkdown implements MarkdownInterface
|
||||
} elseif (class_exists(Parsedown::class)) {
|
||||
$this->converter = new ErusevMarkdown();
|
||||
} else {
|
||||
throw new \LogicException('You cannot use the "markdown_to_html" filter as no Markdown library is available; try running "composer require league/html-to-markdown".');
|
||||
throw new \LogicException('You cannot use the "markdown_to_html" filter as no Markdown library is available; try running "composer require league/commonmark".');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user